pyvider-hcl 2025-10-30
Type inference delegated to pyvider-cty canonical implementation
58 files · 1,588+ · 1,325-

Type inference replaced with pyvider-cty canonical implementation

1 file changed
  • inference.py Replaced 40+ line _auto_infer_value_to_cty() with call to pyvider.cty.conversion.infer_cty_type_from_raw()
  • Replaced the 40+ line _auto_infer_value_to_cty() function in parser/inference.py with a call to pyvider.cty.conversion.infer_cty_type_from_raw() decouple behavioral
    1 file
    • inference.py
  • The canonical implementation provides: list element type analysis, object attribute inference, type unification for mixed collections, caching, and cycle detection decouple internal
    1 file
    • inference.py
  • auto_infer_cty_type() now calls infer_cty_type_from_raw(raw_data) then validates decouple internal
    1 file
    • inference.py

Error context message added to parser context logging

1 file changed
  • context.py Added descriptive first argument to logger.error() call
  • Added descriptive first argument “HCL parsing failed” to logger.error() call in parser/context.py harden internal
    1 file
    • context.py

SPDX header whitespace normalized across all files

4 files changed
  • __init__.py Fixed trailing space in SPDX header block
  • __init__.py Fixed trailing space in SPDX header block
  • _version.py Fixed trailing space in SPDX header block
  • exceptions.py Fixed trailing space in SPDX header block
  • Fixed trailing space after remediate errata
    3 files
    • __init__.py
    • __init__.py
    • _version.py
  • Added blank lines before footer markers remediate errata
    2 files
    • exceptions.py
    • __init__.py

Documentation updated for delegated inference

2 files changed
  • index.md Expanded with additional content (101 lines added)
  • type-inference.md Updated to reflect the delegated implementation
  • Expanded docs/index.md with additional content (101 lines added) specify internal
    1 file
    • index.md
  • Updated docs/guides/type-inference.md to reflect the delegated implementation specify internal
    1 file
    • type-inference.md

Lock file updated and mutants regenerated

1 file changed
  • uv.lock Lock file updated with dependency changes
  • Regenerated uv.lock and updated mutant copies to match new source baseline internal
    1 file
    • uv.lock