File tree Expand file tree Collapse file tree
opentelemetry-sdk/src/opentelemetry/sdk/_configuration Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3636def _load_entry_point_propagator (name : str ) -> TextMapPropagator :
3737 """Load a propagator by name from the opentelemetry_propagator entry point group."""
3838 try :
39- ep = next (entry_points (group = "opentelemetry_propagator" , name = name ), None )
39+ ep = next (
40+ entry_points (group = "opentelemetry_propagator" , name = name ), None
41+ )
4042 if not ep :
4143 raise ConfigurationError (
4244 f"Propagator '{ name } ' not found. "
Original file line number Diff line number Diff line change @@ -172,9 +172,7 @@ def _filter_attributes(
172172
173173 result : dict [str , object ] = {}
174174 for key , value in attrs .items ():
175- if included and not any (
176- fnmatch .fnmatch (key , pat ) for pat in included
177- ):
175+ if included and not any (fnmatch .fnmatch (key , pat ) for pat in included ):
178176 continue
179177 if excluded and any (fnmatch .fnmatch (key , pat ) for pat in excluded ):
180178 continue
You can’t perform that action at this time.
0 commit comments