Jordan Cook

Results 195 comments of Jordan Cook

It's supposed to be pinned to `^2.8`, but it looks like I neglected to do that for the conda-forge recipe. I'll get that updated. As for moving to pyrate-limiter v3,...

This has been fixed on conda-forge in v0.4.2.

Probably! I will take another look soon to see if pyrate-limiter v3 has re-implemented all the features I need. If not, I'll submit some issues and/or PRs for whatever is...

The main thing still missing from v3 is the `multiprocess`-compatible SQLite backend I originally submitted here: https://github.com/vutran1710/PyrateLimiter/pull/68. That's a pretty important feature that I and others are using via `requests-ratelimiter`....

Good news: if you're using the [example from the readme](https://github.com/JWCook/requests-ratelimiter#custom-session-example-requests-cache), then it will already behave as you've described. This is due to cooperative multiple inheritance. `requests_cache.CacheMixin` is the first class...

Similar to handling 429 responses (#4) and the `limit_statuses` option (#34), it also might be useful to provide a `no_limit_statuses` option to specify additional status codes that don't count against...

I've also used symlinks to do this, as @rpocase suggested, and it works fine for me.

Thanks for the suggestion! How would you want these to be used within pyinaturalist? Currently, the purpose of the taxon emoji is for showing tables of taxon or observation records...

Hi there, `requests-cache` maintainer here. Similar issues have come up a number of times over here: * https://github.com/reclosedev/requests-cache/issues/87 * https://github.com/reclosedev/requests-cache/issues/135 * https://github.com/reclosedev/requests-cache/issues/158 * https://github.com/reclosedev/requests-cache/issues/226 * https://github.com/reclosedev/requests-cache/issues/260 There's now a section...

In general, yes, I think disabling requests-cache for unit tests is the best option. There are a few options for that, including: * [session.cache_disabled()](https://requests-cache.readthedocs.io/en/stable/api.html#requests_cache.session.CachedSession.cache_disabled) (if using `CachedSession` directly) * [requests_cache.disabled()](https://requests-cache.readthedocs.io/en/stable/api.html#requests_cache.patcher.disabled)...