cf.active_storage¶
- cf.active_storage(*arg)[source]¶
Whether or not to attempt active storage reductions.
Added in version 3.16.3.
- Parameters:
- Returns:
Constant
The value prior to the change, or the current value if no new value was specified.
Examples
>>> cf.active_storage() False >>> with cf.active_storage(True): ... print(cf.active_storage()) ... True >>> cf.active_storage() False >>> cf.active_storage(True) False >>> cf.active_storage() True