-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: enhance schema validation and property formatting in Notion…
… automation - Added validation to ensure schema properties are either a list or dictionary in `parse_schema`. - Implemented checks for missing 'property_type' in property configurations. - Updated `SchemaConfig` to validate properties and convert them to `PropertyConfig` if necessary. - Enhanced `_format_entry_property` method to handle string properties and validate property formats. - Improved `get_database` method to extract plain text from title arrays in the response.
- Loading branch information
1 parent
37becc4
commit 269c34c
Showing
3 changed files
with
35 additions
and
11 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
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