frequenz-floss / frequenz-client-dispatch-python

Dispatch API client for Python
https://frequenz-floss.github.io/frequenz-client-dispatch-python/
MIT License
0 stars 2 forks source link

Add a `calculate_next_run()` method to `Dispatch` #28

Closed llucax closed 2 months ago

llucax commented 3 months ago

The frequenz-dispatch project provides a function to calculate the next run time for a dispatch, which is probably useful to have in the client, as any user of the API client will probably want to do this.

The method should also expose the from argument (without the _), as users might want to calculate the next time to run given an arbitrary date/time.

_Originally posted by @llucax in https://github.com/frequenz-floss/frequenz-dispatch-python/pull/9#discussion_r1539748212_

Marenz commented 2 months ago

This is or will be done through https://github.com/frequenz-floss/frequenz-dispatch-python/pull/22

llucax commented 2 months ago

Why closing it before it is merged? I would just link the PR and let the issue closes itself when it is really done.

Marenz commented 2 months ago

Mainly because it's in the wrong repository where this feature is implemented