-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat!: total confidence #49
Conversation
af885b8
to
b8be61e
Compare
@@ -40,7 +40,7 @@ The flag's schema is validated against the requested data type, and if it doesn' | |||
|
|||
```python | |||
|
|||
from confidence.provider import Region | |||
from confidence.confidence import Region |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's remember to update the readme to surface the Confidence-API's first and foremost.
event_url = "https://events.confidence.dev/v1/events:publish" | ||
headers = {"Content-Type": "application/json", "Accept": "application/json"} | ||
response = requests.post(event_url, json=request_body, headers=headers) | ||
response.raise_for_status() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
where is this error handled?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we need to figure out how to handle the response using some logging to signal if things are not being accepted.
ff23c1f
to
ffff91b
Compare
No description provided.