pyvider-cty 2025-04-20
Re-introduce cty conversion, add exceptions module, flatten validation
22 files · 702+ · 2,399-

Conversion expansion

6 files changed
  • __init__.py Added ConversionDirection export
  • base.py New base module with ConversionDirection enum
  • cty.py Re-introduced standalone CTY conversion module
  • marshal.py Updated to use schema-local exceptions
  • proto.py Simplified proto conversion, removed bulk code
  • unmarshal.py Updated to use schema-local exceptions
  • Re-introduced CTY conversion and base modules for proper type system integration with schema-local exception handling decouple architectural
    2 files
    • cty.py
    • base.py

Exception and validation overhaul

4 files changed
  • exceptions.py New schema-local exceptions replacing pyvider.core exceptions
  • validation.py Flattened validation into single-file module
  • __init__.py Removed validation package
  • validators.py Removed validators submodule
  • Created self-contained exceptions module and flattened validation from a package into a single file decouple behavioral
    2 files
    • exceptions.py
    • validation.py

Test suite removal

6 files changed
  • test_validation_basic.py Removed
  • test_validation_block.py Removed
  • test_validation_extra.py Removed
  • test_validation_nested.py Removed
  • test_validation_schema.py Removed
  • test_validation_types.py Removed
  • Removed six validation test files totaling over 1800 lines as part of the validation simplification decouple internal
    2 files
    • test_validation_basic.py
    • test_validation_nested.py