mloq.config.param_patch#

Patch param to allow omegaconf Missing values and interpolation strings.

Module Contents#

Classes#

__ParamPatcher

Patch the param package to handle missing values and interpolation strings.

Functions#

__init__patched(self[, default])

Handle missing values and interpolations trings when initializing a param.Parameter.

_create_param__(item)

Patch the target param.Parameter to support missing values and interpolations strings.

Attributes#

__DEFAULT_MARK

PATCHED_PARAMETERS

param

mloq.config.param_patch.__DEFAULT_MARK = __DEFAULT_MARK__#
mloq.config.param_patch.__init__patched(self, default=__DEFAULT_MARK, **kwargs)[source]#

Handle missing values and interpolations trings when initializing a param.Parameter.

mloq.config.param_patch._create_param__(item)[source]#

Patch the target param.Parameter to support missing values and interpolations strings.

mloq.config.param_patch.PATCHED_PARAMETERS#
class mloq.config.param_patch.__ParamPatcher[source]#

Patch the param package to handle missing values and interpolation strings.

PATCHED_PARAMETERS#
__getattr__(item)[source]#

Patch the parameters included in PATCHED_PARAMETERS.

abstract __setattr__(key, value)[source]#

Read only monkeypatching.

mloq.config.param_patch.param#