-
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
💡 enhancementThis issue/pr has been reviewed and accepted as an enhancementThis issue/pr has been reviewed and accepted as an enhancement
Description
Currently, factories include checks to confirm settings are correct, this can be extended to doing instance checks, however, this requires boilerplate code that could be included in the core library.
eg:
def check_definition(self, Dict[str, Dict[str, Any]], name: str, **_):
messages = super().check_definition(check_definitions, name, **_)
if any(message.level >= ERROR for message in messages):
return messages
messages.extend(self.check_instance(check_definitions, name, **_))
return messages
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
💡 enhancementThis issue/pr has been reviewed and accepted as an enhancementThis issue/pr has been reviewed and accepted as an enhancement