Loading src/sunrise6g_opensdk/common/adapters_factory.py +1 −3 Original line number Diff line number Diff line Loading @@ -59,9 +59,7 @@ def _instantiate_from_catalog( try: module_path, attr_name = catalog[client_name] except KeyError as exc: raise ValueError( f"Invalid client '{client_name}'. Available: {list(catalog)}" ) from exc raise ValueError(f"Invalid client '{client_name}'. Available: {list(catalog)}") from exc client_cls = _resolve_adapter(module_path, attr_name) return client_cls(base_url=base_url, **kwargs) Loading Loading
src/sunrise6g_opensdk/common/adapters_factory.py +1 −3 Original line number Diff line number Diff line Loading @@ -59,9 +59,7 @@ def _instantiate_from_catalog( try: module_path, attr_name = catalog[client_name] except KeyError as exc: raise ValueError( f"Invalid client '{client_name}'. Available: {list(catalog)}" ) from exc raise ValueError(f"Invalid client '{client_name}'. Available: {list(catalog)}") from exc client_cls = _resolve_adapter(module_path, attr_name) return client_cls(base_url=base_url, **kwargs) Loading