Skip to content

Day 55-57 results in Type Error for __init__ #53

@salro

Description

@salro

Hi.

When I execute program.py for the Day 55-57 example I run into the following Type Error:

File "C:\Users\salro\PycharmProjects\100daysofcode-with-python-course\venv\lib\site-packages\uplink\hooks.py", line 103, in handle_response
response = hook.handle_response(consumer, response)
File "C:\Users\salro\PycharmProjects\100daysofcode-with-python-course\venv\lib\site-packages\uplink\hooks.py", line 20, in wrapper
return hook(*args, **kwargs)
File "C:\Users\salro\PycharmProjects\100daysofcode-with-python-course\venv\lib\site-packages\uplink\returns.py", line 39, in call
return self._strategy(*args, **kwargs)
TypeError: init() takes 1 positional argument but 2 were given

I tried multiple angles I am familiar with but nothing has worked so far.

Metadata

Metadata

Assignees

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