Content-Length: 251248 | pFad | http://github.com/interactions-py/interactions.py/commit/47b4d9a69034bc6bdda09a6b46d9251ef6c78bb1

02 docs: specify tz as datetime attribute · interactions-py/interactions.py@47b4d9a · GitHub
Skip to content

Commit 47b4d9a

Browse files
committed
docs: specify tz as datetime attribute
I'm aware that datetime is not what it actually is, but we shouldn't be using private data types in our docstrings. Developers will additionally be using it as a reference, not the literal representation when using Signed-off-by: 18 <111544899+xvi-ii@users.noreply.github.com>
1 parent 6f0fad2 commit 47b4d9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interactions/models/internal/tasks/triggers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ class CronTrigger(BaseTrigger):
150150
151151
Attributes:
152152
cron str: The cron schedule, use https://crontab.guru for help
153-
tz bool: Whether or not to use UTC for the time
153+
tz datetime: Whether or not to use UTC for the time (uses timezone information)
154154
155155
"""
156156

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/interactions-py/interactions.py/commit/47b4d9a69034bc6bdda09a6b46d9251ef6c78bb1

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy