shared
最后更新
luxonis_ml.telemetry.cli.shared函数
extract_params
Python
1def extract_params(signature: inspect.Signature, args: Iterable[Any], kwargs: dict[str, Any], *, allowlist: set[str] | None) -> dict[str, Any]:is_click_context
Python
1def is_click_context(value: Any) -> bool:join_command
Python
1def join_command(prefix: str, name: str) -> str:skip_telemetry
Python
1def skip_telemetry(func: Callable[..., Any]) -> Callable[..., Any]:wrap_command_callback
Python
1def wrap_command_callback(func: Callable[..., Any], telemetry: Telemetry, command_name: str, *, allowlist: set[str] | None, include_system_metadata: bool | None) -> Callable[..., Any]: