Skip to content

Commit d3879c5

Browse files
committed
refactor: Change to imperative mood
1 parent 521d7b1 commit d3879c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sqlactive/serialization.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ def from_dict(
219219
exclude: list[str] | None = None,
220220
nested_exclude: list[str] | None = None,
221221
) -> Self | list[Self]:
222-
"""Deserializes a dictionary to the model.
222+
"""Deserialize a dictionary to the model.
223223
224224
Sets the attributes of the model with the values
225225
of the dictionary.
@@ -303,7 +303,7 @@ def from_json(
303303
exclude: list[str] | None = None,
304304
nested_exclude: list[str] | None = None,
305305
) -> Any:
306-
"""Deserializes a JSON string to the model.
306+
"""Deserialize a JSON string to the model.
307307
308308
Loads the JSON string and sets the attributes of the model
309309
with the values of the JSON object using the ``from_dict``

0 commit comments

Comments
 (0)