(self, *args: Any, **kwargs: Any)
| 198 | |
| 199 | @override |
| 200 | def should_sample(self, *args: Any, **kwargs: Any) -> sampling.SamplingResult: |
| 201 | name, attributes = kwargs.get("name", args[2] if len(args) > 2 else None), kwargs.get("attributes") |
| 202 | self.started.append((str(name), dict(attributes or (args[4] if len(args) > 4 else None) or {}))) |
| 203 | return sampling.ALWAYS_ON.should_sample(*args, **kwargs) |
| 204 | |
| 205 | @override |
| 206 | def get_description(self) -> str: |
nothing calls this directly
no test coverage detected