refactor(core)!: drop leading underscores from internal definitions

Renames 314 defs and 41 module/class-level constants. Keeps 11 names underscored where the stripped form collides in scope, plus 5.5.0 shims for the three symbols external service repos call.
This commit is contained in:
imSp4rky
2026-08-15 22:07:41 -06:00
parent db4f0b39f9
commit 21d5f1c5e1
116 changed files with 1671 additions and 1492 deletions
+3 -3
View File
@@ -84,9 +84,9 @@ class MonaLisa:
self.data: dict = kwargs or {}
# Extract keys immediately
self._extract_keys()
self.extract_keys()
def _extract_keys(self) -> None:
def extract_keys(self) -> None:
"""Extract keys from the ticket using the MonaLisa CDM."""
# Import here to avoid circular import
from unshackle.core.cdm.monalisa import MonaLisaCDM
@@ -183,7 +183,7 @@ class MonaLisa:
# Validate it looks like a content ID
if content_id.startswith("H5DCID-"):
return content_id
except Exception:
except (ValueError, TypeError):
pass
return None