otlp-test-data 0.9.1__py3-none-any.whl → 0.9.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: otlp-test-data
3
- Version: 0.9.1
3
+ Version: 0.9.2
4
4
  Summary: Produces OTLP data using OTEL instrumentation
5
5
  Classifier: Development Status :: 3 - Alpha
6
6
  Classifier: Intended Audience :: Developers
@@ -0,0 +1,5 @@
1
+ otlp_test_data.py,sha256=n6fdzZkrZQxrDwlaxmLk0FGJ5_51XBDq7LxNyFdYXvQ,2941
2
+ otlp_test_data-0.9.2.dist-info/METADATA,sha256=vpkPUVtqdW8qHK3ORLGqSjqDt60ohYgC_srL67l2MAY,1949
3
+ otlp_test_data-0.9.2.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
4
+ otlp_test_data-0.9.2.dist-info/top_level.txt,sha256=ft5rEmyMAUMgA-09EOjh--RP05FB8jlthlJ1FywFTso,15
5
+ otlp_test_data-0.9.2.dist-info/RECORD,,
otlp_test_data.py CHANGED
@@ -31,15 +31,15 @@ class Config:
31
31
  time = None
32
32
 
33
33
 
34
- def sample_proto(config: Config | None) -> bytes:
34
+ def sample_proto(config: Config | None = None) -> bytes:
35
35
  return _proto_to_bytes(_spans_to_proto_object(sample_spans(config)))
36
36
 
37
37
 
38
- def sample_json(config: Config | None) -> bytes:
38
+ def sample_json(config: Config | None = None) -> bytes:
39
39
  return _proto_to_json(_spans_to_proto_object(sample_spans(config)))
40
40
 
41
41
 
42
- def sample_spans(config: Config | None) -> Sequence[ReadableSpan]:
42
+ def sample_spans(config: Config | None = None) -> Sequence[ReadableSpan]:
43
43
  """Creates and finishes two spans, then returns them as a list."""
44
44
  global time
45
45
  config = config or Config()
@@ -1,5 +0,0 @@
1
- otlp_test_data.py,sha256=XZgukZbG92IjpwNHxusHr5TI-e40xTJsH_0k2XQPrzA,2920
2
- otlp_test_data-0.9.1.dist-info/METADATA,sha256=myZOJqUW_Bt8ybYezA52vVeE5cPnOOqCvhYDjuteLWc,1949
3
- otlp_test_data-0.9.1.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
4
- otlp_test_data-0.9.1.dist-info/top_level.txt,sha256=ft5rEmyMAUMgA-09EOjh--RP05FB8jlthlJ1FywFTso,15
5
- otlp_test_data-0.9.1.dist-info/RECORD,,