We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
urls
The proposed impl is kinda
def urls(self): md = self.todict() try: pUrls = dict(el.split(", ") for el in md['project_url']) except KeyError: pUrls = {} pUrls = dict(el.split(", ") for el in md['project_url']) hUrls = {} for k in ('home_page', "download_url"): v = md.get(k, None) if v: hUrls[k] = v return pUrls, hUrls
(though it is inefficient to use self.todict(), it should be refactored)
self.todict()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The proposed impl is kinda
(though it is inefficient to use
self.todict()
, it should be refactored)The text was updated successfully, but these errors were encountered: