-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Include pgstac migrations in pypgstac package (#108)
* Include pgstac migrations in pypgstac package * Add tests for specific invalid asset regression We've had both db and api regressions where assets would be included in the hydrated item without an href causing validation errors. Adding specific tests for this case to make sure the general do-no-merge key solution address this problem, and the api-fix can be removed from stac-fastapi backend. * Clarify comments and variable names * On the recursive portion of the dehydrate function, base_item and full_item are not actual items, but sub-keys from root. Move to a private inner function with clearer names, similar to hydrate. * Update comments to be more precise with respect to leaving items on the item or not.
- Loading branch information
1 parent
5263ac0
commit c1e227b
Showing
4 changed files
with
94 additions
and
48 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