Skip to content

Commit 197ebfe

Browse files
committed
Fix lint
1 parent fe3b203 commit 197ebfe

File tree

1 file changed

+2
-2
lines changed
  • opentelemetry-api/src/opentelemetry/attributes

1 file changed

+2
-2
lines changed

opentelemetry-api/src/opentelemetry/attributes/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,9 @@ def _clean_attribute(
118118
return None
119119

120120

121-
def _clean_extended_attribute_value(
121+
def _clean_extended_attribute_value( # pylint: disable=too-many-branches
122122
value: types.AnyValue, max_len: Optional[int]
123-
) -> types.AnyValue: # pylint: disable=too-many-branches
123+
) -> types.AnyValue:
124124
# for primitive types just return the value and eventually shorten the string length
125125
if value is None or isinstance(value, _VALID_ATTR_VALUE_TYPES):
126126
if max_len is not None and isinstance(value, str):

0 commit comments

Comments
 (0)