Skip to content

Commit febcc45

Browse files
committed
add type hint for return type
1 parent c3e0092 commit febcc45

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

deep_code/utils/ogc_api_record.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from typing import Any, Optional, Tuple
1+
from typing import Any, Optional, Tuple, List, Dict
22
from urllib.parse import quote, urlencode, urlparse
33

44
from xrlint.util.constructible import MappingConstructible
@@ -125,7 +125,7 @@ def build_link_to_dataset(collection_id):
125125
}
126126
]
127127

128-
def build_link_to_jnb(self, workflow_title, jupyter_nb_url):
128+
def build_link_to_jnb(self, workflow_title, jupyter_nb_url) -> List[Dict[str, Any]]:
129129
return [
130130
{
131131
"rel": "application",

0 commit comments

Comments
 (0)