Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PGStac #126

Merged
merged 68 commits into from
Jun 18, 2021
Merged
Changes from 1 commit
Commits
Show all changes
68 commits
Select commit Hold shift + click to select a range
dfa0bd2
add .envrc to .*ignore
bitner Apr 15, 2021
08daeff
submodules all as one package
bitner Apr 15, 2021
a9e7160
submodules all as one package
bitner Apr 15, 2021
3da886c
use namespace packages
bitner Apr 15, 2021
6f9e9a5
remove setup.py from pgrest
bitner Apr 16, 2021
80aa749
update cicd workflow
bitner Apr 19, 2021
e812fe8
cherry pick pgstac branch to updated package layout
bitner Apr 19, 2021
dc48a93
allow async endpoints
bitner Apr 19, 2021
f025a77
core modifications needed for pgstac
bitner Apr 19, 2021
93c689c
cleanup
bitner Apr 22, 2021
5ab9fad
cleanup
bitner Apr 22, 2021
99dde9a
setup console scripts
bitner Apr 22, 2021
9a983d0
get transaction api working
bitner Apr 22, 2021
6ea4ce1
bring in pgstac
bitner Apr 22, 2021
095eecc
remove old pgrest
bitner Apr 22, 2021
db517a8
bring Dockerfile over
bitner Apr 22, 2021
466338a
cherrypicks
bitner Apr 22, 2021
638ab8b
Merge remote-tracking branch 'bitner/pgstac2' into pgstac-merge
bitner Apr 22, 2021
43d3dbd
add removed readme back
bitner Apr 22, 2021
d2a58a4
linting, add gzip middleware
bitner May 4, 2021
dc43cf2
Merge branch 'master' of github.com:stac-utils/stac-fastapi into pgst…
bitner May 4, 2021
7c1cf1d
move mangum to awslambda extras
bitner May 4, 2021
ef59c64
sorts
bitner May 4, 2021
9ad8a81
fixes for precommit
bitner May 4, 2021
9af8d8b
fixes for precommit
bitner May 4, 2021
da0b328
uggh pydocstyle
bitner May 4, 2021
a562e77
pgstac tests and fixes from tests
bitner May 13, 2021
10ffd8c
get test runners working
bitner May 13, 2021
9e61655
linting
bitner May 13, 2021
9ab6a8b
tag for db compatible with pgstac
bitner May 13, 2021
2beac9e
db docker uses different ENV vars
bitner May 13, 2021
dc73ffc
linted too hard
bitner May 13, 2021
ef2ab62
test cleanup
bitner May 14, 2021
88c84a2
docker env fixes, documentation
bitner May 14, 2021
7d0eb7e
docker env fixes, documentation
bitner May 14, 2021
0e4e2b9
switch from gzip to brotli
bitner May 14, 2021
f225d1f
Update stac_fastapi/api/stac_fastapi/api/app.py
bitner May 14, 2021
b7315d4
Update stac_fastapi/pgstac/setup.py
bitner May 14, 2021
e718a6a
Update stac_fastapi/pgstac/README.md
bitner May 14, 2021
4970146
fix issues in links for base_url and items relations type
bitner Jun 14, 2021
0041bdf
fix docstring quotes
bitner Jun 14, 2021
1ce77f3
add item_id, collection_id in response to #138
bitner Jun 14, 2021
99fc6e4
Merge branch 'pgstac-merge' of github.com:bitner/stac-fastapi into pg…
bitner Jun 14, 2021
06c8b1b
update pypgstac version
bitner Jun 14, 2021
366d4b9
merge origin master
bitner Jun 14, 2021
4b57620
fix parent link
bitner Jun 14, 2021
d6cc1d3
change id key to items_id in delete_item
bitner Jun 14, 2021
beecb6a
update version of pgstac
bitner Jun 14, 2021
be21fb9
Update docker-compose.yml
bitner Jun 15, 2021
126277c
Update stac_fastapi/pgstac/README.md
bitner Jun 15, 2021
200b462
Update stac_fastapi/pgstac/stac_fastapi/pgstac/models/links.py
bitner Jun 15, 2021
1443ae2
Update stac_fastapi/pgstac/tests/clients/test_postgres.py
bitner Jun 15, 2021
7d6eb34
Update stac_fastapi/pgstac/tests/clients/test_postgres.py
bitner Jun 15, 2021
4b001dc
Apply suggestions from code review
bitner Jun 15, 2021
96f3ba3
fixes from code review. remove unused/debug logging. remove unused fu…
bitner Jun 15, 2021
3540236
Merge branch 'pgstac-merge' of github.com:bitner/stac-fastapi into pg…
bitner Jun 15, 2021
04c0f6a
add import for asyncpg.pool for type hint
bitner Jun 15, 2021
753d216
add default for initial pool and connection value
bitner Jun 15, 2021
fad9b34
use request.json() because we are adding in the paging token to the P…
bitner Jun 15, 2021
d912f22
Merge branch 'master' into pgstac-merge
bitner Jun 15, 2021
d1fb545
linting fixes
bitner Jun 15, 2021
3d98806
make docker-compose use reload=false for uvicorn to avoid any issues …
bitner Jun 16, 2021
0732d4f
increase number of connections on pg instance, only mount scripts and…
bitner Jun 16, 2021
f3f822e
move test data and add test data to both pgstac and sqlalchemy in doc…
bitner Jun 17, 2021
0ed21ee
fix test for collections returning empty array rather than not found
bitner Jun 17, 2021
7d9d513
Merge branch 'master' into pgstac-merge
bitner Jun 17, 2021
1a24c67
add exclude_unset=True when dumping data to json to add in transactio…
bitner Jun 17, 2021
1db576f
Merge branch 'pgstac-merge' of github.com:bitner/stac-fastapi into pg…
bitner Jun 17, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add exclude_unset=True when dumping data to json to add in transactio…
…ns extension
  • Loading branch information
bitner committed Jun 17, 2021
commit 1a24c677f7c99f4056e11a35e62a684a018eca11
2 changes: 1 addition & 1 deletion stac_fastapi/pgstac/stac_fastapi/pgstac/db.py
Original file line number Diff line number Diff line change
@@ -76,7 +76,7 @@ async def dbfunc(pool: pool, func: str, arg: Union[str, Dict]):
f"""
SELECT * FROM {func}(:item::text::jsonb);
""",
item=arg.json(),
item=arg.json(exclude_unset=True),
)
return await conn.fetchval(q, *p)
except exceptions.UniqueViolationError as e: