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

Use annotations to declare schema #2656

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

blythed
Copy link
Collaborator

@blythed blythed commented Nov 29, 2024

from superduper.misc.typing import *

class MyComponent(Component):
    path: File
    my_func: Blob

@blythed blythed force-pushed the feature/2649/auto-infer-schema-from-annotations branch 2 times, most recently from 9003db2 to f9a9302 Compare November 29, 2024 15:35
@blythed blythed force-pushed the feature/2649/auto-infer-schema-from-annotations branch from f9a9302 to 0447d68 Compare November 29, 2024 15:39
@blythed blythed linked an issue Nov 30, 2024 that may be closed by this pull request
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

Successfully merging this pull request may close these issues.

[DATATYPE] Auto-infer _fields based on annotations File, Blob, etc.
1 participant