From da00756a6d9c2bc57d0bc603d74490f0eff33c8f Mon Sep 17 00:00:00 2001 From: Vivek Yadav Date: Mon, 13 Nov 2023 15:55:46 -0600 Subject: [PATCH] updating auto ownership [makedocs] --- activitysim/abm/models/auto_ownership.py | 8 +------- docs/dev-guide/components/auto_ownership.md | 2 +- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/activitysim/abm/models/auto_ownership.py b/activitysim/abm/models/auto_ownership.py index ed2909766..71342299c 100644 --- a/activitysim/abm/models/auto_ownership.py +++ b/activitysim/abm/models/auto_ownership.py @@ -14,18 +14,12 @@ logger = logging.getLogger(__name__) -class AutoOwnershipSettings(LogitComponentSettings): - """ - Settings for the `auto_ownership` component. - """ - - @workflow.step def auto_ownership_simulate( state: workflow.State, households: pd.DataFrame, households_merged: pd.DataFrame, - model_settings: AutoOwnershipSettings | None = None, + model_settings: LogitComponentSettings | None = None, model_settings_file_name: str = "auto_ownership.yaml", trace_label: str = "auto_ownership_simulate", trace_hh_id: bool = False, diff --git a/docs/dev-guide/components/auto_ownership.md b/docs/dev-guide/components/auto_ownership.md index 0fdd940b2..36ed3a441 100644 --- a/docs/dev-guide/components/auto_ownership.md +++ b/docs/dev-guide/components/auto_ownership.md @@ -19,7 +19,7 @@ This model is typically structured as multinomial logit model. ## Configuration ```{eval-rst} -.. autopydantic_model:: AutoOwnershipSettings +.. autopydantic_model:: LogitComponentSettings :inherited-members: BaseModel, PydanticReadable :show-inheritance: ```