Skip to content

Commit b83011c

Browse files
authored
Update exporter/opentelemetry-exporter-otlp-proto-common/src/opentelemetry/exporter/otlp/proto/common/_internal/__init__.py
1 parent 24fcd4e commit b83011c

File tree

1 file changed

+1
-1
lines changed
  • exporter/opentelemetry-exporter-otlp-proto-common/src/opentelemetry/exporter/otlp/proto/common/_internal

1 file changed

+1
-1
lines changed

exporter/opentelemetry-exporter-otlp-proto-common/src/opentelemetry/exporter/otlp/proto/common/_internal/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def _encode_value(
9999
raise Exception(f"Invalid type {type(value)} of value {value}")
100100

101101

102-
def _encode_key_value(key: str, value: Any, allow_null=False) -> PB2KeyValue:
102+
def _encode_key_value(key: str, value: Any, allow_null: bool = False) -> PB2KeyValue:
103103
return PB2KeyValue(
104104
key=key, value=_encode_value(value, allow_null=allow_null)
105105
)

0 commit comments

Comments
 (0)