Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
style: run black
Signed-off-by: jupyterjazz <[email protected]>
  • Loading branch information
jupyterjazz committed Jun 26, 2023
commit c1e1528913297a1488ec7a7b1785566fead61a8d
2 changes: 1 addition & 1 deletion docarray/typing/url/any_url.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def is_extension_allowed(cls, value: Any) -> bool:
return mimetype.startswith(cls.mime_type())
else:
# check if the extension is among the extra extensions of that class
print('extra extensions for value', value, cls.extra_extensions())
print('extra extensions for value', value, cls.extra_extensions())
return any(
value.endswith(ext) or value.split("?")[0].endswith(ext)
for ext in cls.extra_extensions()
Expand Down