core.msc_utils#

Module Contents#

Classes#

Functions#

open_file

Open a file with the appropriate method based on whether MSC is enabled.

Data#

API#

core.msc_utils.logger#

‘getLogger(…)’

class core.msc_utils._FeatureFlag(default: bool = False)#

Initialization

enable() None#

Enable the feature flag.

disable() None#

Disable the feature flag.

is_enabled() bool#

Check if the feature flag is enabled.

import_package() Any#

Import the package.

__getstate__()#

Get the state for pickling.

__setstate__(state)#

Set the state during unpickling.

core.msc_utils.MultiStorageClientFeature#

‘_FeatureFlag(…)’

core.msc_utils.open_file(*args, **kwargs)#

Open a file with the appropriate method based on whether MSC is enabled.

core.msc_utils.__all__#

[‘MultiStorageClientFeature’, ‘open_file’]