question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

evalsha() got an unexpected keyword argument 'keys'

See original GitHub issue

HI: Fist of all, I want to appreciate that you build such awesome tool. When i use this library encounter some problem like title, which code write on

 File "/usr/local/lib/python3.8/site-packages/fastapi_limiter/depends.py", line 42, in __call__
    pexpire = await redis.evalsha(
TypeError: evalsha() got an unexpected keyword argument 'keys'

Environments:

  • python 3.8
  • aioredis == 2.0.0
  • fastapi-limiter==0.1.4
  • fastapi==0.68.1

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:9 (1 by maintainers)

github_iconTop GitHub Comments

4reactions
UnknownFX02commented, Feb 17, 2022

@MarcWarrior fastapi-limiter to v0.1.4 still have this issue, but will fix with your snippets. Can you update this package to pipy

4reactions
GGGoingdowncommented, Nov 1, 2021

@ssinghgc When i using pip or poetry to install still facing this problem. So you can build from source. It work for me (git+https://github.com/long2ice/fastapi-limiter.git)

Read more comments on GitHub >

github_iconTop Results From Across the Web

python - Redis not working. __init__() got an unexpected ...
Redis not working. __init__() got an unexpected keyword argument 'username' ; It would help if you included relevant parts of the code. –...
Read more >
channels/redis exception: TypeError: __init__() got an ...
TypeError: __init__() got an unexpected keyword argument 'socket_connect_timeout'. ``` It looks like there's some package version incompatibility, ...
Read more >
EVAL | Redis
The script should only access keys whose names are given as input arguments. Scripts should never access keys with programmatically-generated names or based...
Read more >
aioredis.Redis — Commands Mixins Reference
or keyword arguments can be used: >>> await redis.hmset_dict( ... 'key', field1='value1', field2='value2'). or dict argument can be mixed with kwargs:.
Read more >
Django : __init__() got an unexpected keyword argument 'user'
Django : __init__() got an unexpected keyword argument 'user' [ Beautify Your Computer : https://www.hows.tech/p/recommended.html ] Django ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found