-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add title retrieval to Notion crawler (#765)
* Removed redundant sanitization * Added title retrieval, updated tests accordingly * Modified map_metadata to include text in embeddedString, updated tests accordingly * Stopped adding title to document text in extractor manually, updated tests so that map_metadata handles the title injection * Updated _get_title to minimize API request * bumped version * removed redundant title assignment in test * Fix mypy issues * make title blank if error * fixed _get_title URL construction * dropped explicit endpoint * Added test for get_title, bumped version * Updated tests to check exceptions, added exits to extractor on significant exceptions * HTTPError adjustment * Added _description and _platform attributes * Bumped version / updated lockfile
- Loading branch information
Showing
9 changed files
with
588 additions
and
531 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
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.