Skip to content

Conversation

@pbailly
Copy link
Contributor

@pbailly pbailly commented Apr 29, 2021

[ch63893]
Time Triggers have new capabilities, let's add them to the python API.

Associated PR: https://github.com/dataiku/dip/pull/12548

@pbailly pbailly added this to the 9.0.2 milestone Apr 29, 2021
@pbailly pbailly self-assigned this Apr 29, 2021
@shortcut-integration
Copy link

self.raw_triggers.append(trigger)

def add_daily_trigger(self, hour=2, minute=0, days=None):
def add_daily_trigger(self, hour=2, minute=0, days=None, year=None, month=None, day=None, repeat_every=1, timezone="SERVER"):
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I hate this paramter ordering, but we have to keep the legacy working...
If you have a better ordering that is consistent between the 4 methods, I would gladly get it.

@cstenac cstenac merged commit 1e8deca into release/9.0 May 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants