Skip to content

Commit

Permalink
remove redundant else in if cond.
Browse files Browse the repository at this point in the history
  • Loading branch information
bieli committed Apr 8, 2024
1 parent d0fc3da commit b6b8071
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/codecs/metric_data_item_codec.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,6 @@ def from_value(
data_type = MetricDataTypes.DECIMAL
elif isinstance(value, str):
data_type = MetricDataTypes.TEXT
else:
data_type = MetricDataTypes.TEXT
elif metric_data_type in (
MetricDataTypes.INTEGERS_LIST,
MetricDataTypes.DECIMALS_LIST,
Expand Down

0 comments on commit b6b8071

Please sign in to comment.