# shared

Python API: `luxonis_ml.telemetry.cli.shared`

## Functions

### extract_params

```python
def extract_params(signature: inspect.Signature, args: Iterable[Any], kwargs: dict[str, Any], *, allowlist: set[str] | None) -> dict[str, Any]:
```

Extract call arguments into a parameter map.

### is_click_context

```python
def is_click_context(value: Any) -> bool:
```

Return True if value looks like a Click/Typer context object.

### join_command

```python
def join_command(prefix: str, name: str) -> str:
```

Join nested command names into a single string.

### skip_telemetry

```python
def skip_telemetry(func: Callable[..., Any]) -> Callable[..., Any]:
```

Mark a command callback as excluded from telemetry.

### wrap_command_callback

```python
def wrap_command_callback(func: Callable[..., Any], telemetry: Telemetry, command_name: str, *, allowlist: set[str] | None, include_system_metadata: bool | None) -> Callable[..., Any]:
```

Wrap a command callback to emit telemetry for execution.
