AsymmetricControl

class AsymmetricControl

Bases: CommonBaseModel

Attributes Summary

model_config

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

Methods Summary

check_values_not_negative(v)

Attributes Documentation

model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True, 'extra': 'allow', 'json_schema_extra': {'example': {'control_type': ControlType.AILERON, 'deflector_height_chord_ratio': [0.05, 0.06], 'hingeline_chord_ratio': 0.11, 'inboard_aileron_chord_ratio': 0.1, 'inboard_span_ratio': 0.3, 'left_deflection': [10.0, 20.0], 'outboard_aileron_chord_ratio': 0.2, 'outboard_span_ratio': 0.4, 'qty_deflections': 2, 'right_deflection': [15.0, 25.0], 'spoiler_chord_ratio': [0.09, 0.1], 'spoiler_height_ratio': [0.07, 0.08]}}, 'protected_namespaces': (), 'validate_assignment': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

Methods Documentation

classmethod check_values_not_negative(v)

Attributes:

__pydantic_setattr_handlers__

__setattr__ handlers.

__pydantic_setattr_handlers__: ClassVar[Dict[str, Callable[[BaseModel, str, Any], None]]] = {}

__setattr__ handlers. Memoizing the handlers leads to a dramatic performance improvement in __setattr__