template_variable_schemas
Schemas for entries on the "template" tag of TemplateModellerConfig schemas.
Classes
TemplateVariablesEntryArray
class TemplateVariablesEntryArray( *, label: str, tooltip: Optional[str] = None, type: Literal['array'], items: bitfount.runners.config_schemas.template_variable_schemas._TemplateArrayItemsDetails, minItems: Optional[int] = None, default: Optional[list[str]] = None,):
Represents a "type: array" template variable entry.
Ancestors
- bitfount.runners.config_schemas.template_variable_schemas._TemplateVariablesEntryCommon
Variables
- static
default : Optional[list[str]]
- static
items : bitfount.runners.config_schemas.template_variable_schemas._TemplateArrayItemsDetails
- static
minItems : Optional[int]
- static
type : Literal['array']
TemplateVariablesEntryFilePath
class TemplateVariablesEntryFilePath( *, label: str, tooltip: Optional[str] = None, type: bitfount.runners.config_schemas.template_variable_schemas._TemplateFilePathTypeEntry,):
Represents a "type: file_path" template variable entry.
Ancestors
- bitfount.runners.config_schemas.template_variable_schemas._TemplateVariablesEntryCommon
Variables
- static
type : bitfount.runners.config_schemas.template_variable_schemas._TemplateFilePathTypeEntry
TemplateVariablesEntryModelSlug
class TemplateVariablesEntryModelSlug( *, label: str, tooltip: Optional[str] = None, type: bitfount.runners.config_schemas.template_variable_schemas._TemplateModelSlugTypeEntry,):
Represents a "type: model_slug" template variable entry.
Ancestors
- bitfount.runners.config_schemas.template_variable_schemas._TemplateVariablesEntryCommon
Variables
- static
type : bitfount.runners.config_schemas.template_variable_schemas._TemplateModelSlugTypeEntry
TemplateVariablesEntryNumber
class TemplateVariablesEntryNumber( *, label: str, tooltip: Optional[str] = None, type: Literal['number'], minimum: Union[int, float, ForwardRef(None)] = None, default: Union[int, float, ForwardRef(None)] = None,):
Represents a "type: number" template variable entry.
Ancestors
- bitfount.runners.config_schemas.template_variable_schemas._TemplateVariablesEntryCommon
Variables
- static
default : Union[int, float, ForwardRef(None)]
- static
minimum : Union[int, float, ForwardRef(None)]
- static
type : Literal['number']
TemplateVariablesEntrySchemaColumnName
class TemplateVariablesEntrySchemaColumnName( *, label: str, tooltip: Optional[str] = None, type: bitfount.runners.config_schemas.template_variable_schemas._TemplateSchemaColumnNameTypeEntry, default: Optional[str] = None,):
Represents a "type: schema_column_name" template variable entry.
Ancestors
- bitfount.runners.config_schemas.template_variable_schemas._TemplateVariablesEntryCommon
Variables
- static
default : Optional[str]
- static
type : bitfount.runners.config_schemas.template_variable_schemas._TemplateSchemaColumnNameTypeEntry
TemplateVariablesEntrySchemaColumnNameArray
class TemplateVariablesEntrySchemaColumnNameArray( *, label: str, tooltip: Optional[str] = None, type: bitfount.runners.config_schemas.template_variable_schemas._TemplateSchemaColumnNameArrayTypeEntry, default: Optional[list[str]] = None,):
Represents a "type: schema_column_name_array" template variable entry.
Ancestors
- bitfount.runners.config_schemas.template_variable_schemas._TemplateVariablesEntryCommon
Variables
- static
default : Optional[list[str]]
- static
type : bitfount.runners.config_schemas.template_variable_schemas._TemplateSchemaColumnNameArrayTypeEntry
TemplateVariablesEntryString
class TemplateVariablesEntryString( *, label: str, tooltip: Optional[str] = None, type: Literal['string'], pattern: Optional[str] = None, default: Optional[str] = None,):
Represents a "type: string" template variable entry.
Ancestors
- bitfount.runners.config_schemas.template_variable_schemas._TemplateVariablesEntryCommon
Variables
- static
default : Optional[str]
- static
pattern : Optional[str]
- static
type : Literal['string']
TemplatesMixin
class TemplatesMixin( template: Optional[dict[str, TemplateVariablesEntryString | TemplateVariablesEntryNumber | TemplateVariablesEntryArray | TemplateVariablesEntryFilePath | TemplateVariablesEntryModelSlug | TemplateVariablesEntrySchemaColumnName | TemplateVariablesEntrySchemaColumnNameArray]] = None,):
Schema for schemas having a template
field.
Subclasses
Variables
- static
template : Optional[dict[str, TemplateVariablesEntryString | TemplateVariablesEntryNumber | TemplateVariablesEntryArray | TemplateVariablesEntryFilePath | TemplateVariablesEntryModelSlug | TemplateVariablesEntrySchemaColumnName | TemplateVariablesEntrySchemaColumnNameArray]]