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

Type hints break parameter recognition. #1737

Open
KoenGreuell opened this issue Dec 11, 2024 · 1 comment
Open

Type hints break parameter recognition. #1737

KoenGreuell opened this issue Dec 11, 2024 · 1 comment
Labels
backend codde for services API etc. bug Something isn't working language:Python

Comments

@KoenGreuell
Copy link

KoenGreuell commented Dec 11, 2024

Applies to

  • Python notebooks

Problem

When you give a typehint in python to a parameter starting with "param_", then the component containerizer treats it as output and input, in stead of a parameter.

Image

Image

@KoenGreuell KoenGreuell added bug Something isn't working Priority: Low The issue's priority backend codde for services API etc. language:Python labels Dec 11, 2024
@KoenGreuell
Copy link
Author

There is another Bug related to type hints: "Type hints sometimes break type inference" #1086

@KoenGreuell KoenGreuell removed the Priority: Low The issue's priority label Dec 11, 2024
@KoenGreuell KoenGreuell changed the title Parameters with typehints are not recognized as parameters. Type hints break parameter recognition. Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend codde for services API etc. bug Something isn't working language:Python
Projects
None yet
Development

No branches or pull requests

1 participant