Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Commit

Permalink
Do not quote datetimes
Browse files Browse the repository at this point in the history
  • Loading branch information
jpsca committed Jan 31, 2022
1 parent 7b0dad7 commit a539167
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sqla_wrapper/base_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,6 @@ def _repr_attr(self, attr):
name, value = attr
if hasattr(value, "isoformat"):
value = value.isoformat()
return f"{name} = {repr(value)}"
else:
value = repr(value)
return f"{name} = {value}"

0 comments on commit a539167

Please sign in to comment.