From fcb269758dd8614add950a27f746fe3f1bde267e Mon Sep 17 00:00:00 2001 From: Daniel Bluhm Date: Wed, 30 Aug 2023 12:26:35 -0400 Subject: [PATCH] style(D418): overloaded methods shouldn't have docstrings Signed-off-by: Daniel Bluhm --- aries_cloudagent/messaging/models/base.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/aries_cloudagent/messaging/models/base.py b/aries_cloudagent/messaging/models/base.py index 872c895119..d9139be964 100644 --- a/aries_cloudagent/messaging/models/base.py +++ b/aries_cloudagent/messaging/models/base.py @@ -133,7 +133,6 @@ def deserialize( cls: Type[ModelType], obj, ) -> ModelType: - """Convert from JSON representation to a model instance.""" ... @overload @@ -144,7 +143,6 @@ def deserialize( *, unknown: Optional[str] = None, ) -> ModelType: - """Convert from JSON representation to a model instance.""" ... @overload @@ -156,7 +154,6 @@ def deserialize( none2none: Literal[False], unknown: Optional[str] = None, ) -> ModelType: - """Convert from JSON representation to a model instance.""" ... @overload @@ -168,7 +165,6 @@ def deserialize( none2none: Literal[True], unknown: Optional[str] = None, ) -> Optional[ModelType]: - """Convert from JSON representation to a model instance.""" ... @classmethod @@ -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 @@ -223,7 +218,6 @@ def serialize( *, unknown: Optional[str] = None, ) -> dict: - """Create a JSON-compatible dict representation of the model instance.""" ... def serialize(