Wim Jeantine-Glenn
Wim Jeantine-Glenn
It could, but who is actually doing that in practice? It seems like a hypothetical edge case that doesnβt matter much, at least not to this issue. With the setup.py...
I can see how that could risk breaking `pip install`, but I still don't see how it's relevant to this issue? If `pip download --no-deps foo==1.0` should find a file...
> Honestly, why not just get the PyPI URL and download it directly? Hi Paul, the reason not to just get the PyPI URL and download directly is that I...
@naiquevin Note that since Python 3.8 you can use [`importlib.metadata`](https://docs.python.org/3/library/importlib.metadata.html#distribution-requirements) to get this "extra" info easily: ``` >>> from importlib.metadata import requires >>> requires("jira") ['defusedxml', 'oauthlib[signedtoken] (>=1.0.0)', 'pbr (>=3.0.0)', 'requests-oauthlib...
Hi @tkem , I tried it and it worked great, but I did have to change: @ttl_cache(maxsize=512, ttl=60 * 5) Into @cached(TTLCache(maxsize=512, ttl=60 * 5), info=True) Might be nice to...
π€¦ It was a problem between keyboard and chair. I went and added `info=True` to every cachetools decorator and got TypeError: ttl_cache() got an unexpected keyword argument 'info' nevermind!
This is released in [v1.1.0](https://pypi.org/project/djangorestframework-queryfields/1.1.0/). I've added the test coverage and tweaked the option names to make it a bit more obvious, new doc at https://djangorestframework-queryfields.readthedocs.io/en/latest/faq.html
These will be cached in the upcoming 2.0.0 release, under the mechanism described in my previous comment (html cache)
Sorry, too magical. `parse.Result` is only iterable because it implements `__getitem__` in a way that satisfies the "old-school" iterator protocol. For the iteration to switch behaviors depending on presence of...
Since parse [v1.20.1](https://pypi.org/project/parse/1.20.1/) you can use the strptime directives: ``` >>> parse("{:%H:%M:%S:%f}", "2:08:32:01") ```