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

[DATATYPE] Auto-infer _fields based on annotations File, Blob, etc. #2649

Open
Tracked by #2562
blythed opened this issue Nov 27, 2024 · 0 comments · May be fixed by #2656
Open
Tracked by #2562

[DATATYPE] Auto-infer _fields based on annotations File, Blob, etc. #2649

blythed opened this issue Nov 27, 2024 · 0 comments · May be fixed by #2656
Assignees

Comments

@blythed
Copy link
Collaborator

blythed commented Nov 27, 2024

class MyComponent(Component):
    pdf: File | None = None

assert MyComponent._fields['pdf'] == 'file'
@blythed blythed self-assigned this Nov 27, 2024
@blythed blythed moved this from To Do to In Progress in superduper-open-source Nov 29, 2024
@blythed blythed moved this from In Progress to Review in superduper-open-source Nov 29, 2024
@blythed blythed linked a pull request Nov 30, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Review
Development

Successfully merging a pull request may close this issue.

1 participant