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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy