Skip to content

Commit 9d0e918

Browse files
authored
Merge pull request #11 from jonhealy1/prep_release
Prep mongo release
2 parents 9ef9151 + 17b65af commit 9d0e918

File tree

4 files changed

+6
-1
lines changed

4 files changed

+6
-1
lines changed

stac_fastapi/elasticsearch/setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"elasticsearch[async]",
1717
"elasticsearch-dsl",
1818
"pystac[validation]",
19+
"uvicorn",
1920
]
2021

2122
extra_reqs = {

stac_fastapi/mongo/setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"fastapi-utils",
1616
"pymongo",
1717
"pystac[validation]",
18+
"uvicorn",
1819
]
1920

2021
extra_reqs = {

stac_fastapi/mongo/stac_fastapi/mongo/serializers.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ def db_to_stac(cls, collection: dict, base_url: str) -> stac_types.Collection:
6363
if original_links:
6464
collection_links += resolve_links(original_links, base_url)
6565

66+
if "providers" not in collection:
67+
collection["providers"] = {}
68+
6669
return stac_types.Collection(
6770
type="Collection",
6871
id=collection["id"],
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
"""library version."""
2-
__version__ = "2.3.0"
2+
__version__ = "2.3.1"

0 commit comments

Comments
 (0)