cicerotcv / cities-api

WIP cities and countries API
MIT License
1 stars 2 forks source link

fixed TypeError being thrown due to lack of arguments #9

Closed cpyberry closed 3 years ago

cpyberry commented 3 years ago

Hello, I am cpyberry. If you happen to have a free moment, I'd be very glad if you could give me your opinion.

Contents

Reasons

cd cities-api
python ./search.py "sao paulo"
Traceback (most recent call last):
  File "./search.py", line 31, in <module>
    print(search(query))
TypeError: search() missing 2 required positional arguments: 'query' and 'populate'
cpyberry commented 3 years ago

That's a good suggestion Thank you