-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
decouple database connection from api layer (#74)
* create Session object wrapping fastapi_utils * add Session to core, try it out with /collections endpoint * init session on app creation * push Session lower * remove db middlewares and event hooks * relock * finish updating core * update pagination client * remove PostgresClient from core * remove PostgresClient from pagination, switch to mixin * add lookup_id staticmethod * make private method * refactor transactions * client tests working * resource tests working * lock pygeos to 0.8 * oops * do exception handling in one place * remove old code * switch back to pygeos 0.9 * update except
- Loading branch information
1 parent
5a8d953
commit 3838242
Showing
15 changed files
with
510 additions
and
601 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
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -20,6 +20,7 @@ | |
"stac-pydantic>=1.3.5", | ||
"pydantic[dotenv]", | ||
"titiler==0.1.0a12", | ||
"fastapi-utils", | ||
] | ||
|
||
extra_reqs = { | ||
|
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.