-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Hi, thank you for the library. I follow your README, and got following error:
Traceback (most recent call last):
File "/home/sumar/Projects/python/fastapi-todo-convoy/convoy_test.py", line 2, in <module>
convoy = Convoy({"api_key":"redacted"})
File "/home/sumar/Projects/python/fastapi-todo-convoy/venv/lib/python3.10/site-packages/convoy/convoy.py", line 22, in __init__
self.applications = application.Application(config)
File "/home/sumar/Projects/python/fastapi-todo-convoy/venv/lib/python3.10/site-packages/convoy/api/application.py", line 11, in __init__
self.client = Client(config)
File "/home/sumar/Projects/python/fastapi-todo-convoy/venv/lib/python3.10/site-packages/convoy/client/client.py", line 12, in __init__
self.username = config["username"]
KeyError: 'username'
Step to reproduce
- create python venv
- pip install convoy-python
- create simple python file
from convoy import Convoy
convoy = Convoy({"api_key":"your_api_key"})- then run the python file.
Thanks
Metadata
Metadata
Assignees
Labels
No labels