-
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.
* begin re-factor of how taxonomies are populated * refactor * add type to arg * Add a little more documentation for taxonomy * More refactoring and add tests * finish tests * First re-factor to accomodate UNFCCC * get tests working (not) * lunch time commit * fix datetime issue * more re-factoring * end of day commit * get validation working * start implementing the collections csv * Validate the Collections CSV * add more tests * add database migration * Update app/core/ingestion/processor.py Co-authored-by: Joel Wright <[email protected]> * remove law-policy from the routes * create sub-modules * fully validate collections * update field names for collection csv * Add new CSV columns * remove collection_id as no longer used * write test but comment out - pivoting * remove submission type from taxonomy and add to document type * fix failing populate_taxonomy test * more ingest work * more tests ready for writing ingest code * Allow pre-existing collection if they match * add download_url * add beginnings of ingest tests for unfccc * first refactor before unfccc ingest * more stuff * finish tests * finish re-factor * Add a test for the documents object sent to the pipeline --------- Co-authored-by: Joel Wright <[email protected]>
- Loading branch information
1 parent
99ff502
commit a4c363c
Showing
25 changed files
with
410 additions
and
663 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ | |
} | ||
|
||
|
||
def add_metadata( | ||
def add_cclw_metadata( | ||
db: Session, | ||
family_import_id: str, | ||
taxonomy: Taxonomy, | ||
|
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.