Skip to content

Commit

Permalink
clickhouse_client: Remove timedelta support
Browse files Browse the repository at this point in the history
  • Loading branch information
Andersson007 committed Feb 14, 2024
1 parent 233b7be commit 89a4402
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions plugins/modules/clickhouse_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@
returned: on success
type: dict
'''
from datetime import timedelta
from decimal import Decimal
from uuid import UUID

Expand Down Expand Up @@ -154,7 +153,7 @@ def vals_to_supported(result):
"""
for idx_row, row in enumerate(result):
for idx_val, val in enumerate(row):
if is_uuid(val) or isinstance(val, timedelta):
if is_uuid(val):
# As tuple does not support change,
# we need some conversion here
result[idx_row] = replace_val_in_tuple(row, idx_val, str(val))
Expand Down

0 comments on commit 89a4402

Please sign in to comment.