Skip to content

Commit

Permalink
fix data_api uuid typehint
Browse files Browse the repository at this point in the history
  • Loading branch information
jethroguce committed Sep 14, 2024
1 parent 5cb7a4d commit 12c97f9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions awswrangler/data_api/rds.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,9 @@ def _create_value_dict( # noqa: PLR0911
if isinstance(value, Decimal):
return {"stringValue": str(value)}, "DECIMAL"

if isinstance(value, uuid.UUID):
return {"stringValue": str(value)}, "UUID"

raise exceptions.InvalidArgumentType(f"Value {value} not supported.")


Expand Down

0 comments on commit 12c97f9

Please sign in to comment.