babylon.models.entities.industry
Classes
|
Pydantic representation of an ECONOMIC_SECTOR hyperedge in XGI. |
- class babylon.models.entities.industry.IndustryHyperedge(**data)[source]
Bases:
BaseModelPydantic representation of an ECONOMIC_SECTOR hyperedge in XGI.
- Parameters:
naics_2digit (str)
naics_label (str)
total_employment (int)
total_wages (Annotated[float, FieldInfo(annotation=NoneType, required=True, description='Non-negative economic value (wealth, wages, rent, GDP)', metadata=[Ge(ge=0.0)]), AfterValidator(func=~babylon.kernel.math.quantize)])
profit_rate (float)
occ (float)
- model_config: ClassVar[ConfigDict] = {'frozen': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- total_wages: Annotated[float, FieldInfo(annotation=NoneType, required=True, description='Non-negative economic value (wealth, wages, rent, GDP)', metadata=[Ge(ge=0.0)]), AfterValidator(func=quantize)]