fal-ai / isolate

🛡️ Managed isolated environments for Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Schema validation for `from_config()` of all backends

isidentical opened this issue · comments

from_config() should not ignore extra parameters, instead it should complain very verbosely about it.

@classmethod
def from_config(
cls,
config: Dict[str, Any],
context: ContextType = GLOBAL_CONTEXT,
) -> BaseEnvironment:
"""Create a new environment from the given configuration."""
raise NotImplementedError