Skip to content

Commit

Permalink
updating auto ownership [makedocs]
Browse files Browse the repository at this point in the history
  • Loading branch information
vivekyadav26 committed Nov 13, 2023
1 parent 1b75bef commit da00756
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
8 changes: 1 addition & 7 deletions activitysim/abm/models/auto_ownership.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion docs/dev-guide/components/auto_ownership.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
```
Expand Down

0 comments on commit da00756

Please sign in to comment.