Skip to content

Commit

Permalink
style(D418): overloaded methods shouldn't have docstrings
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Bluhm <[email protected]>
  • Loading branch information
dbluhm committed Aug 30, 2023
1 parent ba25cdf commit fcb2697
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions aries_cloudagent/messaging/models/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@ def deserialize(
cls: Type[ModelType],
obj,
) -> ModelType:
"""Convert from JSON representation to a model instance."""
...

@overload
Expand All @@ -144,7 +143,6 @@ def deserialize(
*,
unknown: Optional[str] = None,
) -> ModelType:
"""Convert from JSON representation to a model instance."""
...

@overload
Expand All @@ -156,7 +154,6 @@ def deserialize(
none2none: Literal[False],
unknown: Optional[str] = None,
) -> ModelType:
"""Convert from JSON representation to a model instance."""
...

@overload
Expand All @@ -168,7 +165,6 @@ def deserialize(
none2none: Literal[True],
unknown: Optional[str] = None,
) -> Optional[ModelType]:
"""Convert from JSON representation to a model instance."""
...

@classmethod
Expand Down Expand Up @@ -214,7 +210,6 @@ def serialize(
as_string: Literal[True],
unknown: Optional[str] = None,
) -> str:
"""Create a JSON-compatible dict representation of the model instance."""
...

@overload
Expand All @@ -223,7 +218,6 @@ def serialize(
*,
unknown: Optional[str] = None,
) -> dict:
"""Create a JSON-compatible dict representation of the model instance."""
...

def serialize(
Expand Down

0 comments on commit fcb2697

Please sign in to comment.