Skip to content

Commit

Permalink
mf
Browse files Browse the repository at this point in the history
  • Loading branch information
mam10eks committed Dec 10, 2024
1 parent b599d00 commit 805e863
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions application/src/tira_app/endpoints/v1/_datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class _DatasetView(ModelViewSet):
permission_classes = [AllowAny]


def load_mirrored_resource(md5_sum):
def load_mirrored_resource(md5_sum: str) -> dict[str, str]:
ret = None

try:
Expand All @@ -69,7 +69,7 @@ def load_mirrored_resource(md5_sum):
return ret


def mirrors_for_dataset(dataset_id: str):
def mirrors_for_dataset(dataset_id: str) -> dict[str, str]:
ret = {"truths": {}, "inputs": {}}
for i in modeldb.DatasetHasMirroredResource.objects.filter(dataset__dataset_id=dataset_id):
resource_type = i.resource_type
Expand Down

0 comments on commit 805e863

Please sign in to comment.