mavsec.properties.PropertyType
- class mavsec.properties.PropertyType(name: 'str', description: 'str', meta: 'dict[str, type | TypeAlias]' = <factory>, spv: 'str | list[str] | None' = None)
Bases:
object- __init__(name: str, description: str, meta: dict[str, type | ~typing.TypeAlias] = <factory>, spv: str | list[str] | None = None) None
Methods
__init__(name, description[, meta, spv])check(meta, name)Check the property type.
get_type(name)Gets a property type by name.
Attributes
property_typesThe SVP principle in jinja for the property type.
The name of the property type.
A brief description of the property type.
The information needed to generate the property.
- check(meta: dict, name: str) ProjectCheckResult
Check the property type.
- description: str
A brief description of the property type.
- classmethod get_type(name: str) PropertyType
Gets a property type by name.
- meta: dict[str, type | TypeAlias]
The information needed to generate the property.
- name: str
The name of the property type.
- spv: str | list[str] | None = None
The SVP principle in jinja for the property type.