Graph-Native Infrastructure for Context and Accountable AI Systems
Python agent-memoryaiai-governanceai-infrastructureartificial-intelligencecontext-engineeringcontext-graphsdata-engineeringdecision-intelligencedeveloper-toolsexplainable-aigenerative-aigraph-ragknowledge-graphllmontologyprovenancepythonreasoningsemantic-search
fix(utils): remove unnecessary Type fallback and keep explicit typing import
KaifAhmad1436bcc535279
diff --git a/semantica/utils/helpers.py b/semantica/utils/helpers.pyindex d09e27a0..3a23f81b 100644--- a/semantica/utils/helpers.py+++ b/semantica/utils/helpers.py@@ -65,14 +65,7 @@ import osimport refrom datetime import datetime, timezonefrom pathlib import Path-from typing import Any, Dict, List, Optional, Tuple, Union--# Defensive fallback: keep `Type` defined for environments or refactors-# where typing imports may drift and runtime annotations still reference it.-try:- from typing import Type-except Exception: # pragma: no cover- Type = type+from typing import Any, Dict, List, Optional, Tuple, Type, Uniondef format_data(data: Any, format_type: str = "json") -> str: