Skip to content
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

Fix Python type checking #487

Merged

Conversation

api-clients-generation-pipeline[bot]
Copy link
Contributor

@api-clients-generation-pipeline api-clients-generation-pipeline bot commented Jun 16, 2021

This was skipped for unknown reasons.
@api-clients-generation-pipeline api-clients-generation-pipeline bot requested a review from a team as a code owner June 16, 2021 11:56
@github-actions github-actions bot added the documentation Improvements or additions to documentation label Jun 16, 2021
@api-clients-generation-pipeline api-clients-generation-pipeline bot changed the title Pull request for therve/fix-python-type-checking Fix Python type checking Jun 17, 2021
@therve therve force-pushed the datadog-api-spec/generated/1039 branch from bb333fd to e9939d8 Compare June 17, 2021 14:48
Comment on lines -1371 to -1373
# Buld a configuration that doesn't discard unknown keys for primitive types
discard_configuration = copy.deepcopy(constant_kwargs["_configuration"])
discard_configuration.discard_unknown_keys = False
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is removed on purpose ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, the must_convert change covers that area now.

@api-clients-generation-pipeline api-clients-generation-pipeline bot merged commit b835fc3 into master Jun 17, 2021
@api-clients-generation-pipeline api-clients-generation-pipeline bot deleted the datadog-api-spec/generated/1039 branch June 17, 2021 15:41
github-actions bot pushed a commit that referenced this pull request Jun 17, 2021
* Enforce type checking

This was skipped for unknown reasons.

* Regenerate client from commit 7f25c3e of spec repo

Co-authored-by: Thomas Hervé <thomas.herve@datadoghq.com>
Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com> b835fc3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog/Fixed ci/integrations documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

list_events should handle float timestamps
2 participants