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

Detect stateful transformations by attribute instead of name #90

Merged

Conversation

tomicapretto
Copy link
Collaborator

Stateful transformations were looked up in a STATEFUL_TRANSFORMS dictionary by name. This worked well, but it could be made more robust. If one created a function that returned the result of a stateful transformation, formulae would never know.

With this PR we remove the STATEFUL_TRANSFORMS dictionary and stateful transformations are detected with the special attribute __stateful_transform__.

@tomicapretto tomicapretto merged commit 0dcd7b0 into bambinos:master Feb 13, 2023
@tomicapretto tomicapretto deleted the improve_stateful_transforms branch February 13, 2023 12:36
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.

1 participant