artifacts

This commit is contained in:
ed
2026-06-26 06:12:02 -04:00
parent 8f6ae6d983
commit 0a65056fc5
28 changed files with 1227 additions and 7 deletions
@@ -0,0 +1,16 @@
"""Check what FileItemsDiff looks like."""
from typing import get_type_hints
from src import type_aliases
print("FileItemsDiff._fields =", type_aliases.FileItemsDiff._fields)
try:
hints = get_type_hints(type_aliases.FileItemsDiff)
print("hints =", hints)
except Exception as e:
print(f"get_type_hints failed: {e}")
# Try with globalns
try:
hints = get_type_hints(type_aliases.FileItemsDiff, globalns={"models": __import__("src.models", fromlist=["FileItem"])})
print("with globalns hints =", hints)
except Exception as e:
print(f"with globalns failed: {e}")