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

Support builtin Python types as Producer args #21

Open
JacobHayes opened this issue Mar 24, 2021 · 0 comments
Open

Support builtin Python types as Producer args #21

JacobHayes opened this issue Mar 24, 2021 · 0 comments
Labels
design Design and use cases required enhancement New feature or request

Comments

@JacobHayes
Copy link
Member

To improve/ease hinting for simple Producer inputs, we may want to support the builtin python types (int, str, list, etc) in the build/map type annotations, which could be converted with Artifact.cast into some "LiteralArtifact"s. This would probably ease ramp up for new folks/existing codebases.

We should be cautious about supporting more complex/custom types though (eg: don't allow pd.DataFrame) and instead push those towards proper Artifacts.

@JacobHayes JacobHayes added enhancement New feature or request design Design and use cases required labels Mar 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design Design and use cases required enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant