grpcio-csm-observability 1.74.0__py3-none-any.whl → 1.75.0rc1__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.
@@ -223,7 +223,7 @@ class CsmOpenTelemetryPluginOption(OpenTelemetryPluginOption):
223
223
 
224
224
  @staticmethod
225
225
  def is_active_on_server(
226
- xds: bool, # pylint: disable=unused-argument
226
+ xds: bool, # pylint: disable=unused-argument #noqa: ARG004
227
227
  ) -> bool:
228
228
  """Determines whether this plugin option is active on a given server.
229
229
 
@@ -259,10 +259,11 @@ class CsmOpenTelemetryPlugin(OpenTelemetryPlugin):
259
259
  def __init__(
260
260
  self,
261
261
  *,
262
- plugin_options: Iterable[OpenTelemetryPluginOption] = [],
262
+ plugin_options: Optional[Iterable[OpenTelemetryPluginOption]] = None,
263
263
  meter_provider: Optional[MeterProvider] = None,
264
264
  generic_method_attribute_filter: Optional[Callable[[str], bool]] = None,
265
265
  ):
266
+ plugin_options = plugin_options or []
266
267
  new_options = list(plugin_options) + [CsmOpenTelemetryPluginOption()]
267
268
  super().__init__(
268
269
  plugin_options=new_options,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: grpcio-csm-observability
3
- Version: 1.74.0
3
+ Version: 1.75.0rc1
4
4
  Summary: gRPC Python CSM observability package
5
5
  Home-page: https://grpc.io
6
6
  Author: The gRPC Authors
@@ -16,7 +16,7 @@ Requires-Python: >=3.9
16
16
  License-File: LICENSE
17
17
  Requires-Dist: opentelemetry-sdk >=1.25.0
18
18
  Requires-Dist: opentelemetry-resourcedetector-gcp >=1.6.0a0
19
- Requires-Dist: grpcio ==1.74.0
19
+ Requires-Dist: grpcio ==1.75.0rc1
20
20
  Requires-Dist: protobuf <7.0.0,>=6.31.1
21
21
 
22
22
  gRPC Python CSM Observability
@@ -0,0 +1,7 @@
1
+ grpc_csm_observability/__init__.py,sha256=CRuqnwMQmI9pSQdnTnI32xReU-7PLlB45hbgXWycEXw,709
2
+ grpc_csm_observability/_csm_observability_plugin.py,sha256=eukEHiLjbyvPqxlc6sBnmuVpYcnk5h-cE6t2PT6BCcA,11557
3
+ grpcio_csm_observability-1.75.0rc1.dist-info/LICENSE,sha256=WQGY4_MF8sNH_eZNY3xlSSu-9VTbbINk4UnNN143l-4,29687
4
+ grpcio_csm_observability-1.75.0rc1.dist-info/METADATA,sha256=HTrJO0PVOZBJhLnqvEc7jR6rxNVyS0X1pNet0vPX868,3293
5
+ grpcio_csm_observability-1.75.0rc1.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
6
+ grpcio_csm_observability-1.75.0rc1.dist-info/top_level.txt,sha256=FSgLI8hb_KL25S49JgyLTjHgdxM3PpcrkWQrbOQiaB8,23
7
+ grpcio_csm_observability-1.75.0rc1.dist-info/RECORD,,
@@ -1,7 +0,0 @@
1
- grpc_csm_observability/__init__.py,sha256=CRuqnwMQmI9pSQdnTnI32xReU-7PLlB45hbgXWycEXw,709
2
- grpc_csm_observability/_csm_observability_plugin.py,sha256=ol1BLaGZ4Tf13jIo1BRhEHDgjpBsIxf4jMiR9V8nQdg,11485
3
- grpcio_csm_observability-1.74.0.dist-info/LICENSE,sha256=WQGY4_MF8sNH_eZNY3xlSSu-9VTbbINk4UnNN143l-4,29687
4
- grpcio_csm_observability-1.74.0.dist-info/METADATA,sha256=7SpRVqaoEewgFaQjkJ7rdXw6ITwhoUwO0pj9L-Npl-M,3287
5
- grpcio_csm_observability-1.74.0.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
6
- grpcio_csm_observability-1.74.0.dist-info/top_level.txt,sha256=FSgLI8hb_KL25S49JgyLTjHgdxM3PpcrkWQrbOQiaB8,23
7
- grpcio_csm_observability-1.74.0.dist-info/RECORD,,