Skip to content

Schema validation for from_config() of all backends #10

@isidentical

Description

@isidentical

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions