A-pythonenhancementgood first issue
Repository metrics
- Stars
- (6,582 stars)
- PR merge metrics
- (Avg merge 6d 1h) (219 merged PRs in 30d)
Description
-
Currently we still require an explicit call to pydantic_to_schema when creating a table. Instead, we can create a
LanceTable.from_pydantic_model()method that infers both the name and the schema. For the name we'll convert to snake_case automatically. -
To add pydantic model instances, currently we require the user to explicitly convert to a dictionary. Instead, we could just automatically do it under the hood.