Skip to main content

schema_or_config

No overview available.

def schema_or_config(
context: dict
) - > object

Determines whether to return a validation schema or a configuration object based on the provided context.

Parameters

NameTypeDescription
contextdictThe execution context containing environment variables and flags that dictate which object type to retrieve.

Returns

TypeDescription
objectA dictionary containing either the validation schema definitions or the specific configuration settings for the component.