class EnviBridge(EnviManager): __configuration__ = { "VAR1": EnviType.bool(is_ok=["True"]), "VAR2": EnviType.bool(is_ok=["true"]), "VAR3": EnviType.bool(is_ok=["True"]), "VAR4": EnviType.bool(is_ok=["true"]), "VAR5": EnviType.bool(is_ok=["true", "True"]), }
class EnviBridge(EnviManager): VAR = EnviType.bool() def callable(self): return "callable" @classmethod def callable2(cls): return "callable2"
class EnviBridge(EnviManager): __configuration__ = { "VAR": EnviType.string(required=False, default="test"), }
class EnviBridge(EnviManager): __configuration__ = { "VAR": EnviType.string(required=True), }
class EnviBridge(EnviManager): __configuration__ = { "VAR": EnviType.generic(cast=json.loads), }
class EnviBridge(EnviManager): __configuration__ = { "VAR": EnviType.integer(validate=lower_than_10), }
class EnviBridge(EnviManager): __configuration__ = { "VAR": EnviType.generic(lambda x: x.upper()), }
class EnviBridge(EnviManager): VAR = EnviType.string(required=True)
class EnviBridge(EnviManager): __configuration__ = { "VAR1": EnviType.string(), }
class EnviBridge(EnviManager): VAR = EnviType.float()
class EnviBridge(EnviManager): VAR1 = EnviType.string()
class EnviBridgeInheriting(EnviBridge): VAR1 = EnviType.bool() VAR2 = EnviType.bool()
class EnviBridge(EnviManager): VAR = EnviType.integer()
class EnviBridge(EnviManager): VAR1 = EnviType.bool(is_ok=["True"]) VAR2 = EnviType.bool(is_ok=["true"]) VAR3 = EnviType.bool(is_ok=["True"]) VAR4 = EnviType.bool(is_ok=["true"]) VAR5 = EnviType.bool(is_ok=["true", "True"])
class EnviBridge(EnviManager): VAR = EnviType.string(required=False, default="test")
class EnviBridge(EnviManager): VAR = EnviType.bool()
class EnviBridgeInheriting(EnviBridge): __configuration__ = { "VAR1": EnviType.bool(), "VAR2": EnviType.bool(), }
class EnviBridge(EnviManager): VAR = EnviType.generic(cast=json.loads)
class EnviBridge(EnviManager): __configuration__ = { "VAR": EnviType.bool(), }
class EnviBridge(EnviManager): VAR = EnviType.integer(validate=lower_than_10)