Skip to content

Commit

Permalink
Fix some docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
bpepple committed Feb 8, 2024
1 parent d22791b commit 3e81400
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions mokkari/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ def api(
Args:
username (str): The username used for metron.cloud.
passwd (str): The password used for metron.cloud.
SqliteCache optional: SqliteCache to use
user_agent optional(str): The user agent string for the application using Mokkari.
cache (SqliteCache): SqliteCache to use
user_agent (str): The user agent string for the application using Mokkari.
For example 'Foo Bar/1.0'.
Returns:
Expand Down
2 changes: 1 addition & 1 deletion mokkari/schemas/arc.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

class Arc(BaseResource):
"""
The Arc object extends :obj:`BaseArc` providing all information for a story arc.
The Arc object extends :obj:`BaseResource` providing all information for a story arc.
Attributes:
desc (str): The description of the story arc.
Expand Down
2 changes: 1 addition & 1 deletion mokkari/schemas/character.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

class Character(BaseResource):
"""
The Character object extends :obj:`BaseCharacter` providing all information for a character.
The Character object extends :obj:`BaseResource` providing all information for a character.
Attributes:
alias (list[str]): The alias of the character.
Expand Down
2 changes: 1 addition & 1 deletion mokkari/schemas/creator.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

class Creator(BaseResource):
"""
The Creator object extends :obj:`BaseCreator` providing all information for a creator.
The Creator object extends :obj:`BaseResource` providing all information for a creator.
Attributes:
birth (date): The date of birth for the creator.
Expand Down
2 changes: 1 addition & 1 deletion mokkari/schemas/issue.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class BasicSeries(BaseModel):

class IssueSeries(BaseModel):
"""
The :obj:`AssociatedSeries` object contains more detailed series information.
The :obj:`IssueSeries` object contains more detailed series information.
Attributes:
id (int): The Metron identification number for series.
Expand Down
2 changes: 1 addition & 1 deletion mokkari/schemas/publisher.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

class Publisher(BaseResource):
"""
The Publisher object extends :obj:`BasePublisher` providing all information for a publisher.
The Publisher object extends :obj:`BaseResource` providing all information for a publisher.
Attributes:
founded (int): The year the publisher was founded.
Expand Down
2 changes: 1 addition & 1 deletion mokkari/schemas/team.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

class Team(BaseResource):
"""
The Team object extends the :obj:`BaseTeam` by containing all information for a team.
The Team object extends the :obj:`BaseResource` by containing all information for a team.
Attributes:
desc (str): The description of the team.
Expand Down
2 changes: 1 addition & 1 deletion mokkari/schemas/universe.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

class Universe(BaseResource):
"""
The Universe object extends the :obj:`BaseUniverse` by containing information for a universe.
The Universe object extends the :obj:`BaseResource` by containing information for a universe.
Attributes:
publisher (int): The Metron identification number for the publisher
Expand Down

0 comments on commit 3e81400

Please sign in to comment.