cobra_component_models.io.type package

Submodules

cobra_component_models.io.type.annotation_type module

cobra_component_models.io.type.notes_type module

Provide a custom pydantic type for component notes.

class cobra_component_models.io.type.notes_type.NotesType[source]

Bases: str

Define a custom pydantic type for component notes.

classmethod __get_validators__()[source]

Implement pydantic special behavior.

classmethod validate(value: str)[source]

Validate the notes value.

Module contents

Provide custom pydantic types.