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

feat: implement get_source_code() function #378

Merged
merged 8 commits into from
Dec 6, 2021

Conversation

redeboer
Copy link
Member

@redeboer redeboer commented Dec 6, 2021

Closes #323

  • Added a convenience function tensorwaves.function.get_source_code()
  • Added read-only properties function and argument_order to ParametrizedBackendFunction (parallels attrs-decorated PositionalArgumentFunction class).
  • PositionalArgumentFunction is now used internally in ParametrizedBackendFunction (simplifies its __call__() method).
  • Symbols are not force-dummified anymore if use_cse=False

@redeboer redeboer added this to the 0.4.0 milestone Dec 6, 2021
@redeboer redeboer self-assigned this Dec 6, 2021
@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@redeboer redeboer changed the title Get source code feat: implement get_source_code function Dec 6, 2021
@redeboer redeboer enabled auto-merge (squash) December 6, 2021 16:00
@redeboer redeboer merged commit 563db33 into ComPWA:main Dec 6, 2021
@redeboer redeboer deleted the get_source_code branch December 6, 2021 16:06
@redeboer redeboer changed the title feat: implement get_source_code function feat: implement get_source_code() function Apr 11, 2022
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.

Make it easier to inspect source-code of a BackendFunction
1 participant