Closed JWCook closed 5 months ago
Example:
from pyinaturalist import ClientSession, FileLockSQLiteBucket session = ClientSession( bucket_class=FileLockSQLiteBucket, lock_path='/tmp/pyinat.lock', ratelimit_path='/tmp/pyinat_ratelimit.db', )
Note that pyinaturalist.FileLockSQLiteBucket is a modified version of pyrate_limiter.FileLockSQLiteBucket that supports setting the lock path.
pyinaturalist.FileLockSQLiteBucket
pyrate_limiter.FileLockSQLiteBucket
Example:
Note that
pyinaturalist.FileLockSQLiteBucket
is a modified version ofpyrate_limiter.FileLockSQLiteBucket
that supports setting the lock path.