load_yaml: Simplify redundant Any annotation
The annotation 'dict[str, Any] | Any' on the cached base value collapses to plain Any, since Any absorbs any union member. Write the simplified form. Assisted-by: unsloth/Qwen3.8-27B-GGUF:Q4_K_M with pi.dev v0.84.2 Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
391fcc7ef2
commit
f737c15a0d
1 changed files with 1 additions and 1 deletions
|
|
@ -235,7 +235,7 @@ def _expand_links_recursive(
|
|||
if link_key in resolving:
|
||||
raise ValueError(f"Cyclic link detected: {link_spec!r}")
|
||||
if link_key in resolved:
|
||||
base_value: dict[str, Any] | Any = resolved[link_key]
|
||||
base_value: Any = resolved[link_key]
|
||||
else:
|
||||
resolving.add(link_key)
|
||||
_, _, target_path, target_value = _resolve_link(
|
||||
|
|
|
|||
Loading…
Reference in a new issue