Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable FuncDateRule and FuncTimeRule in Python #7990

Closed
4 tasks done
AlexCatarino opened this issue May 1, 2024 · 0 comments · Fixed by #8061
Closed
4 tasks done

Enable FuncDateRule and FuncTimeRule in Python #7990

AlexCatarino opened this issue May 1, 2024 · 0 comments · Fixed by #8061
Assignees

Comments

@AlexCatarino
Copy link
Member

AlexCatarino commented May 1, 2024

Expected Behavior

We can define a function to trigger date and time rules in Python:

date_rule = FuncDateRule('Custom', self.CustomDateRule)

def CustomDateRule(self, start, end):
    return []

Actual Behavior

Only supported in C#

Potential Solution

Add a PyOvject overload to uncDateRule and FuncTimeRule.

See:

#7988

Checklist

  • I have completely filled out this template
  • I have confirmed that this issue exists on the current master branch
  • I have confirmed that this is not a duplicate issue by searching issues
  • I have provided detailed steps to reproduce the issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants