@@ -140,6 +140,7 @@ def deserialize(
140140 * ,
141141 unknown : Optional [str ] = None ,
142142 ) -> ModelType :
143+ """Convert from JSON representation to a model instance."""
143144 ...
144145
145146 @overload
@@ -151,6 +152,7 @@ def deserialize(
151152 none2none : Literal [False ],
152153 unknown : Optional [str ] = None ,
153154 ) -> ModelType :
155+ """Convert from JSON representation to a model instance."""
154156 ...
155157
156158 @overload
@@ -162,6 +164,7 @@ def deserialize(
162164 none2none : Literal [True ],
163165 unknown : Optional [str ] = None ,
164166 ) -> Optional [ModelType ]:
167+ """Convert from JSON representation to a model instance."""
165168 ...
166169
167170 @classmethod
@@ -208,6 +211,7 @@ def serialize(
208211 as_string : Literal [True ],
209212 unknown : Optional [str ] = None ,
210213 ) -> str :
214+ """Create a JSON-compatible dict representation of the model instance."""
211215 ...
212216
213217 @overload
@@ -216,6 +220,7 @@ def serialize(
216220 * ,
217221 unknown : Optional [str ] = None ,
218222 ) -> dict :
223+ """Create a JSON-compatible dict representation of the model instance."""
219224 ...
220225
221226 def serialize (
0 commit comments