Skip to content

Commit eb6db14

Browse files
committed
style: add type annotation to return value
1 parent a8d1945 commit eb6db14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nmdc_runtime/api/endpoints/lib/linked_instances.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def temp_linked_instances_collection_name(ids: list[str], types: list[str]) -> s
3737
return f"_runtime.tmp.linked_instances.{hash_from_ids_and_types(ids=ids,types=types)}.{ObjectId()}"
3838

3939

40-
def drop_stale_temp_linked_instances_collections():
40+
def drop_stale_temp_linked_instances_collections() -> None:
4141
"""Drop any temporary linked-instances collections that were generated earlier than one day ago."""
4242
mdb = get_mongo_db()
4343
one_day_ago = now() - timedelta(days=1)

0 commit comments

Comments
 (0)