From a6fef057bdb245538f3570c8d7472f745e5f12aa Mon Sep 17 00:00:00 2001 From: akash-vijay-kv Date: Thu, 16 Apr 2026 15:08:03 +0530 Subject: [PATCH] fix: Remove duplicate __all__ assignments and dead code --- netra/__init__.py | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/netra/__init__.py b/netra/__init__.py index e7b6b51..46db192 100644 --- a/netra/__init__.py +++ b/netra/__init__.py @@ -23,13 +23,6 @@ from netra.tracer import Tracer from netra.usage import Usage -__all__ = [ - "Netra", - "UsageModel", - "ActionModel", - "Prompts", -] - logger = logging.getLogger(__name__) @@ -431,7 +424,7 @@ def start_span( cls, name: str, attributes: Optional[Dict[str, str]] = None, - module_name: str = "combat_sdk", + module_name: str = Config.SDK_NAME, as_type: Optional[SpanType] = SpanType.SPAN, ) -> SpanWrapper: """ @@ -459,4 +452,4 @@ def get_trace_id(cls) -> Optional[str]: return SessionManager.get_trace_id() -__all__ = ["Netra", "UsageModel", "ActionModel", "SpanType", "EvaluationScore", "Prompts", "ConversationType"] +__all__ = ["Netra", "UsageModel", "ActionModel", "SpanType", "Prompts", "ConversationType"]