Skip to content

Getting method_whitelist error #93

@suresh-naik-tfs

Description

@suresh-naik-tfs

Hi, I followed the documentation to run a sample python script on mac, but getting the following error, any insight would be greatly appreciated:

Traceback (most recent call last):
  File "/crux_example/hello.py", line 6, in <module>
    conn = Crux()
           ^^^^^^
  File "/.local/share/virtualenvs/crux_example-cM9mL2JP/lib/python3.11/site-packages/crux/apis.py", line 25, in __init__
    crux_config = CruxConfig(
                  ^^^^^^^^^^^
  File "/.local/share/virtualenvs/crux_example-cM9mL2JP/lib/python3.11/site-packages/crux/_config.py", line 98, in __init__
    retries = Retry(
              ^^^^^^
TypeError: Retry.__init__() got an unexpected keyword argument 'method_whitelist'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions