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

Functional style helper functions #710

Closed
6 tasks done
terrorfisch opened this issue Dec 1, 2022 · 2 comments
Closed
6 tasks done

Functional style helper functions #710

terrorfisch opened this issue Dec 1, 2022 · 2 comments
Assignees

Comments

@terrorfisch
Copy link
Member

terrorfisch commented Dec 1, 2022

Similar to #694 and #692 we can add helper methods for "functional" style pulse template creation

def with_mappings(self, **MappingPTArgs):
    pass

def with_iteration(self, **ForLoopPTArgs):
    pass

For easier discoverability all methods start with with_.

@terrorfisch
Copy link
Member Author

@BrllsRX Can use these functions in the new examples where applicable? I will do so mysolf over the examples I rework.

@BrllsRX
Copy link
Collaborator

BrllsRX commented Dec 19, 2022

@terrorfisch Almost all with_funcitons are tested in snake charge scan. No foreseeable problems yet. See details in Task 3 of that example.

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

No branches or pull requests

2 participants