Skip to content

Commit 2818834

Browse files
committed
fix: Typos
1 parent 19ce2da commit 2818834

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ result = item.to_dict(only=('non_sql_field', 'method', 'somefield.id', 'somefiel
113113
```
114114
You can use negative rules in `only` param too.
115115
So `item.to_dict(only=('somefield', -'somefield.id'))`
116-
will return `somefiled` without `id`. See [Negative rules in ONLY section](#Negative-rules-in-ONLY-section)
116+
will return `somefield` without `id`. See [Negative rules in ONLY section](#Negative-rules-in-ONLY-section)
117117

118118
If you want to exclude specific values from the serialized output (e.g., `None` values):
119119
```python

sqlalchemy_serializer/serializer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929

3030
class SerializerMixin:
31-
"""Mixin for retrieving public fields of sqlAlchemy-model in json-compatible format
31+
"""Mixin for retrieving public fields of SQLAlchemy-model in json-compatible format
3232
with no pain
3333
It can be inherited to redefine get_tzinfo callback, datetime formats or to add
3434
some extra serialization logic

0 commit comments

Comments
 (0)