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

Tag the original function with the decorator type #2146

Closed
wants to merge 4 commits into from
Closed

Conversation

Andrew-S-Rosen
Copy link
Member

Summary of Changes

Closes #1865 by adding a .quacc_decorator attribute on the decorated function so we can intelligently redecorate behind-the-scenes. This may, in the future, allow for advanced logic with redecoration.

Checklist

  • I have read the "Guidelines" section of the contributing guide. Don't lie! 😉
  • My PR is on a custom branch and is not named main.
  • I have added relevant, comprehensive unit tests.

Notes

  • Your PR will likely not be merged without proper and thorough tests.
  • If you are an external contributor, you will see a comment from @buildbot-princeton. This is solely for the maintainers.
  • When your code is ready for review, ping one of the active maintainers.

@Andrew-S-Rosen Andrew-S-Rosen changed the title Tag the original function with the decorator Tag the original function with the decorator type May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Bug risk: Using customize_funcs() with Dask to update the parameters of a @flow or @subflow
1 participant