Skip to content

Commit

Permalink
clarify _NamedBaseModel docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
DropD committed Jan 27, 2025
1 parent 76bf0b2 commit af60f71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sirocco/parsing/_yaml_data_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

class _NamedBaseModel(BaseModel):
"""
Base model for reading names from yaml keys *or* attributes.
Base model for reading names from yaml keys *or* keyword args to the constructor.
Reading from attributes is allowed in order to enable the standard
constructor usage from Python, as demonstrated in the below examples.
Expand Down

0 comments on commit af60f71

Please sign in to comment.