Skip to content

Commit

Permalink
DOC: Updating docstring with a warning about the timezone in create_task
Browse files Browse the repository at this point in the history
  • Loading branch information
joao-voltarelli committed May 9, 2024
1 parent 2eb0d24 commit f2cd9fe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions botcity/maestro/sdk.py
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,8 @@ def create_task(self, activity_label: str, parameters: Dict[str, object],
test: Whether or not the task is a test.
priority: (Optional[int], optional) An integer from 0 to 10 to refer to execution priority.
min_execution_date (Optional[datetime.datetime], optional): Minimum execution date for the task.
The BotCity Orchestrator time zone is in UTC-0. Therefore, consider the difference between
time zones when using this parameter.
Returns:
Automation Task. See [AutomationTask][botcity.maestro.model.AutomationTask]
Expand Down

0 comments on commit f2cd9fe

Please sign in to comment.