Skip to content

Commit 78e964a

Browse files
Ariana Barzinpouromad
authored andcommitted
add type annotation
1 parent bb0de96 commit 78e964a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/dc_tools/odc/apps/dc_tools/sqs_to_dc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ def get_uri(metadata, rel_value):
183183
return uri
184184

185185

186-
def do_archiving(metadata, dc: Datacube, publish_action, stac):
186+
def do_archiving(metadata, dc: Datacube, publish_action: str | None, stac: bool | None):
187187
dataset_id = uuid.UUID(metadata.get("id"))
188188
if dataset_id:
189189
dc.index.datasets.archive([dataset_id])

0 commit comments

Comments
 (0)