Skip to content

Conversation

@astuyve
Copy link
Contributor

@astuyve astuyve commented Mar 15, 2022

What does this PR do?

decimal.Decimal is an object, but that throws an error as it's not iterable.
This PR fixes that.

Motivation`

Fixes #213

Testing Guidelines

Covered by automated tests.

Additional Notes

Types of Changes

  • Bug fix
  • New feature
  • Breaking change
  • Misc (docs, refactoring, dependency upgrade, etc.)

Check all that apply

  • This PR's description is comprehensive
  • This PR contains breaking changes that are documented in the description
  • This PR introduces new APIs or parameters that are documented and unlikely to change in the foreseeable future
  • This PR impacts documentation, and it has been updated (or a ticket has been logged)
  • This PR's changes are covered by the automated tests
  • This PR collects user input/sensitive content into Datadog
  • This PR passes the integration tests (ask a Datadog member to run the tests)

@astuyve astuyve requested a review from a team as a code owner March 15, 2022 19:57
@astuyve astuyve requested a review from hghotra March 15, 2022 21:46
Copy link
Contributor

@hghotra hghotra left a comment

Choose a reason for hiding this comment

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

👍🏼

@astuyve astuyve merged commit 5cfafa5 into main Mar 16, 2022
@astuyve astuyve deleted the aj/fix-decimal-tag-object branch March 16, 2022 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

When the response of lambda contain data of type Decimal, datadog raise except TypeError: 'decimal.Decimal' object is not iterable

3 participants