babylon.models.entities.industry

Classes

IndustryHyperedge(**data)

Pydantic representation of an ECONOMIC_SECTOR hyperedge in XGI.

class babylon.models.entities.industry.IndustryHyperedge(**data)[source]

Bases: BaseModel

Pydantic representation of an ECONOMIC_SECTOR hyperedge in XGI.

Parameters:
model_config: ClassVar[ConfigDict] = {'frozen': True}

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

naics_2digit: str
naics_label: str
department_weights: dict[str, float]
member_business_ids: frozenset[str]
member_worker_block_ids: frozenset[str]
county_fips: frozenset[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=quantize)]
profit_rate: float
occ: float