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

Validate Input/Output class for new decorator functions at build time #1171

Open
elliotgunton opened this issue Aug 22, 2024 · 0 comments
Open
Labels
type:enhancement A general enhancement

Comments

@elliotgunton
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
When writing a script template I might forget to use an Input or Output in the function definition, when subclasses of those are the only things allowed.

Describe the solution you'd like
A clear and concise description of what you want to happen.

Validate and raise an error when function input/output types are not Input/Output (allow empty/None input/output)

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Remember to use the right types? 😆

Additional context
Add any other context or screenshots about the feature request here.

@elliotgunton elliotgunton added the type:enhancement A general enhancement label Aug 22, 2024
@elliotgunton elliotgunton added this to the HEP0001 - new decorators milestone Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

1 participant