Skip to content

Commit 938e058

Browse files
committed
fix: Docs
1 parent c95d695 commit 938e058

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -414,10 +414,6 @@ class Point(Base, SerializerMixin):
414414
position = Column(Geometry('POINT'))
415415
```
416416

417-
Unfortunately you cannot access formats or tzinfo in that functions.
418-
I'll implement this logic later if any of users needs it.
419-
420-
421417
# Timezones
422418
To keep `datetimes` consistent it is better to store it in the database normalized to **UTC**.
423419
But when you return response, sometimes (mostly in web, mobile applications can do it themselves)

sqlalchemy_serializer/lib/fields.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def _get_cache_key(model_instance) -> tuple[type, tuple | None, bool]:
2222

2323

2424
def get_sql_field_names(model_instance) -> set[str]:
25-
""":return: set of sql fields names
25+
"""Returns set of SQL field names
2626
:raise: sqlalchemy.exc.NoInspectionAvailable
2727
"""
2828
inspector = sql_inspect(model_instance)

0 commit comments

Comments
 (0)