function supports_progress_interface¶
- deeptime.util.callbacks.supports_progress_interface(bar)¶
Method to check if a progress bar supports the deeptime interface, meaning that it has update, close, and set_description methods as well as a total attribute.
- Parameters:
bar (object, optional) – The progress bar implementation to check, can be None.
- Returns:
supports – Whether the progress bar is supported.
- Return type:
bool
See also