unexpected keyword argument 'skip_instance_cache'
See original GitHub issueVersion: s3fs==0.4.0
Passing skip_instance_cache
to s3fs.S3FileSystem
as indicated in the docs does not succeed:
>>> import s3fs
>>> s3fs.S3FileSystem(skip_instance_cache=True)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/josephsheedy/venv/py3/lib/python3.8/site-packages/fsspec-0.6.2-py3.8.egg/fsspec/spec.py", line 52, in __call__
obj = super().__call__(*args, **kwargs)
File "/Users/josephsheedy/git/s3fs/s3fs/core.py", line 156, in __init__
self.s3 = self.connect()
File "/Users/josephsheedy/git/s3fs/s3fs/core.py", line 228, in connect
self.session = botocore.session.Session(**self.kwargs)
TypeError: __init__() got an unexpected keyword argument 'skip_instance_cache'
Other kwargs ['use_listings_cache', 'listings_expiry_time', 'max_paths']
destined for fsspec are handled in __init__
, but not skip_instance_cache
.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Unexpected keyword argument - python - Stack Overflow
The ForeignKey from the Seller to the User has been named seller , not seller `. You thus can construct an object with:...
Read more >unexpected-keyword-arg / E1123 - Pylint 2.16.0-dev ...
Description: Used when a function call passes a keyword argument that doesn't correspond to one of the function's parameter names. Problematic code:.
Read more >TypeError: lbs() got an unexpected keyword argument 'dtype' #3
Hello~ Well, Thanks for the project that helps me firstly. But when I followed what the requirement.txt said, and configured my environment
Read more >scarico() got an unexpected keyword argument 'string'
First, I'm going to recommend you call your parameter something other than "string" (although that is a valid name). I will use "my_string"...
Read more >Unexpected keyword argument - Anvil Q&A
In my application, the API ENDPOINT notify_burned is notified when a voucher_id is used (“burned”).
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for posting. Note that this is still unreleased.
Thanks @martindurant, that’s exactly what I needed! I was confused for a minute because I’ve been searching for this in the past, but then I noticed that the
fsspec.config
module is new. Great that this was added!