Use a dedicated URL-handling library #1380
Labels
code quality
Nonfunctional improvements to the codebase
dependencies
Update one or more dependencies version
released
There are various places in the code that would benefit from the use of a modern URL-handling library, such as furl, purl, or yarl. These include:
is_same_url()
indelete.py
(yarl doesn't help here; see Clean up URL parsing inextract_species()
inmetadata/util.py
extract_species()
#1416 instead)get_content_url()
indandiapi.py
get_instance()
inutils.py
is_page2_url()
inutils.py
_get_instance()
inutils.py
(yarl doesn't help here)joinurl()
inutils.py
Most of(I think rewriting this would be more trouble than it's worth)dandi/dandiarchive.py
?We should use such a library to improve the code.
The text was updated successfully, but these errors were encountered: