We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
Describe the bug The Async API Client is misconfigured and wont handle ssl configuration settings correctly. Severity: Low
Severity: Low
To Reproduce
configuration.verify_ssl = False
Expected behavior Expected to not get the ssl verify error after disabling verify ssl in configuration. configuration.verify_ssl = False
Environment and Versions (please complete the following information): System: Macbook Name: datadog-api-client Version: 2.16.0
Macbook
datadog-api-client
2.16.0
import asyncio from datadog_api_client import ApiClient, AsyncApiClient, Configuration from datadog_api_client.v1.api.events_api import EventsApi from datadog_api_client.v1.model.event_create_request import EventCreateRequest API_KEY = "..." APPLICATION_KEY = "..." body = EventCreateRequest( title="Example-Event", text="A text message.", tags=[ "test:ExampleEvent", ], ) configuration = Configuration( api_key={ "apiKeyAuth": API_KEY, "appKeyAuth": APPLICATION_KEY, }, ) configuration.verify_ssl = False async def main() -> None: async with AsyncApiClient(configuration) as api_client: api_instance = EventsApi(api_client) response = await api_instance.create_event(body=body) print(response) if __name__ == "__main__": asyncio.run(main())
Pull Request: #1655
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
Describe the bug
The Async API Client is misconfigured and wont handle ssl configuration settings correctly.
Severity: Low
To Reproduce
configuration.verify_ssl = False
Expected behavior
Expected to not get the ssl verify error after disabling verify ssl in configuration.
configuration.verify_ssl = False
Environment and Versions (please complete the following information):
System:
Macbook
Name:
datadog-api-client
Version:
2.16.0
Pull Request: #1655
The text was updated successfully, but these errors were encountered: