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:
naics_2digit: str
naics_label: str
department_weights: dict[str, float]
member_business_ids: set[str]
member_worker_block_ids: set[str]
county_fips: set[str]
total_employment: int
total_wages: Annotated[float]
profit_rate: float
occ: float
model_config: ClassVar[ConfigDict] = {}

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