Skip to content

Commit

Permalink
TEMP
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohizurkhan committed Jul 2, 2024
1 parent 91d32e9 commit 1371466
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,9 @@ def semver_key(path):
folders = aws_list_folders(
signed_s3_request, prefix=request.view_args['dataset_id'] + '/'
)
keys = aws_list_keys(
signed_s3_request, prefix=request.view_args['dataset_id'] + '/'
)
matching_folders = filter(predicate, folders)
latest_matching_version = max(
matching_folders, default=None, key=semver_key
Expand Down

0 comments on commit 1371466

Please sign in to comment.