-
-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Reverts the previous `to_schema` implementation in the service layer. This will need to be rethought as it requires too many overloads to any customized service function. - Ensures that the filter values for `upsert_many` is a unique list. This is useful when you are merging a large amount of objects on a foreign key. The lookup will only contain a single unique entry for each key instead of one for each row. - Adds a `schema_to_dict` method to convert incoming Pydantic or Msgspec models to dictionaries - Adds additional type guard helpers to check for a field in a dictionary, Struct, or BaseModel
- Loading branch information
Showing
9 changed files
with
187 additions
and
1,152 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.