PhysicalCharacteristics
- class PhysicalCharacteristics
 Bases:
BaseModelPhysical characteristics of the system.
- weight
 Weight in kilograms.
- Type:
 float
- dimensions
 Dimensions in meters (length, width, height).
- Type:
 Dict[str, float]
- volume
 Volume in cubic meters.
- Type:
 float
- center_of_gravity
 Center of gravity coordinates (x, y, z) in meters.
- Type:
 Dict[str, float]
Attributes Summary
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
Methods Summary
validate_cog(v)Validate that center of gravity includes x, y, and z coordinates.
Validate that dimensions include length, width, and height.
Attributes Documentation
- model_config: ClassVar[ConfigDict] = {}
 Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
Methods Documentation
- classmethod validate_cog(v)
 Validate that center of gravity includes x, y, and z coordinates.
- Parameters:
 v (Dict[str, float])
- Return type:
 Dict[str, float]
- classmethod validate_dimensions(v)
 Validate that dimensions include length, width, and height.
- Parameters:
 v (Dict[str, float])
- Return type:
 Dict[str, float]
Methods:
Validate that dimensions include length, width, and height.
validate_cog(v)Validate that center of gravity includes x, y, and z coordinates.
Attributes:
__setattr__ handlers.
- classmethod validate_dimensions(v)
 Validate that dimensions include length, width, and height.
- Parameters:
 v (Dict[str, float])
- Return type:
 Dict[str, float]
- classmethod validate_cog(v)
 Validate that center of gravity includes x, y, and z coordinates.
- Parameters:
 v (Dict[str, float])
- Return type:
 Dict[str, float]
- __pydantic_setattr_handlers__: ClassVar[Dict[str, Callable[[BaseModel, str, Any], None]]] = {}
 __setattr__ handlers. Memoizing the handlers leads to a dramatic performance improvement in __setattr__