Skip to content

Commit 65514ad

Browse files
committed
✨ Fix formatting in epoch.py log entry comment
1 parent 28ef103 commit 65514ad

File tree

2 files changed

+3
-501
lines changed

2 files changed

+3
-501
lines changed

pydantic_extra_types/epoch.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,14 @@ class Number(_Base):
5050
5151
from pydantic_extra_types import epoch
5252
53+
5354
class LogEntry(BaseModel):
5455
timestamp: epoch.Number
5556
57+
5658
logentry = LogEntry(timestamp=1.1)
5759
print(logentry)
58-
#> timestamp=datetime.datetime(1970, 1, 1, 0, 0, 1, 100000, tzinfo=datetime.timezone.utc)
60+
# > timestamp=datetime.datetime(1970, 1, 1, 0, 0, 1, 100000, tzinfo=datetime.timezone.utc)
5961
```
6062
"""
6163

0 commit comments

Comments
 (0)