pyvider 2025-03-24
Major protocol layer restructuring: deleted the entire `protocols/adapters/` hierarchy and...
39 files · 1,559+ · 6,217-

Protocol Adapters Removal

4 files changed
  • adapters Deleted entire `src/pyvider/protocols/adapters/` tree including:
  • cty_protobuf.py Deleted `protocols/tfprotov6/adapters/cty_protobuf.py` (159 lines) and `schema_adapter.py` (622 l...
  • schema_adapter.py Deleted `protocols/tfprotov6/adapters/cty_protobuf.py` (159 lines) and `schema_adapter.py` (622 l...
  • __init__.py Removed `src/pyvider/protocols/__init__.py` contents (10 lines)
  • Deleted entire src/pyvider/protocols/adapters/ tree including: decouple internal
    1 file
    • adapters
  • Deleted protocols/tfprotov6/adapters/cty_protobuf.py (159 lines) and schema_adapter.py (622 lines) decouple internal
    2 files
    • cty_protobuf.py
    • schema_adapter.py
  • Removed src/pyvider/protocols/__init__.py contents (10 lines) decouple internal
    1 file
    • __init__.py

New Protocol-Level Conversion Modules

3 files changed
  • schema_adapter.py Added `src/pyvider/protocols/tfprotov6/schema_adapter.py` (311 lines) as a simplified, inline sch...
  • type_conversion.py Added `src/pyvider/protocols/tfprotov6/type_conversion.py` (278 lines) for direct type conversion...
  • dynamic_value_adapter.py Added `src/pyvider/protocols/tfprotov6/dynamic_value_adapter.py` (274 lines) for DynamicValue enc...
  • Added src/pyvider/protocols/tfprotov6/schema_adapter.py (311 lines) as a simplified, inline schema adapter interface internal
    1 file
    • schema_adapter.py
  • Added src/pyvider/protocols/tfprotov6/type_conversion.py (278 lines) for direct type conversion between Python/CTY and Terraform types baseline internal
    1 file
    • type_conversion.py
  • Added src/pyvider/protocols/tfprotov6/dynamic_value_adapter.py (274 lines) for DynamicValue encode/decode instantiate internal
    1 file
    • dynamic_value_adapter.py

Glom Code Removal

7 files changed
  • glom_functions.py Deleted `components/disabled/functions/glom_functions.py` (571 lines)
  • glom_impl.py Deleted `components/disabled/functions/glom_impl.py` (256 lines)
  • glom_wrapper.py Deleted `components/disabled/functions/glom_wrapper.py` (293 lines)
  • test_old_glom.py Deleted `components/disabled/functions/test_old_glom.py` (2,205 lines)
  • test_glom_functions.py Deleted `components/tests/glom/test_glom_functions.py` (564 lines), `test_glom_integration.py` (1...
  • test_glom_integration.py Deleted `components/tests/glom/test_glom_functions.py` (564 lines), `test_glom_integration.py` (1...
  • test_glom_wrapper.py Deleted `components/tests/glom/test_glom_functions.py` (564 lines), `test_glom_integration.py` (1...
  • Deleted components/disabled/functions/glom_functions.py (571 lines) decouple internal
    1 file
    • glom_functions.py
  • Deleted components/disabled/functions/glom_impl.py (256 lines) decouple internal
    1 file
    • glom_impl.py
  • Deleted components/disabled/functions/glom_wrapper.py (293 lines) decouple internal
    1 file
    • glom_wrapper.py
  • Deleted components/disabled/functions/test_old_glom.py (2,205 lines) decouple internal
    1 file
    • test_old_glom.py
  • Deleted components/tests/glom/test_glom_functions.py (564 lines), test_glom_integration.py (141 lines), test_glom_wrapper.py (120 lines) qualify internal
    3 files
    • test_glom_functions.py
    • test_glom_integration.py
    • test_glom_wrapper.py

Component Reorganization

3 files changed
  • numeric_functions.py Moved `components/functions/numeric_functions.py` to `components/disabled/functions/`
  • functions Moved `components/functions/numeric_functions.py` to `components/disabled/functions/`
  • string_manipulation.py Moved `components/functions/string_manipulation.py` to `components/disabled/functions/`
  • Moved components/functions/numeric_functions.py to components/disabled/functions/ decouple internal
    2 files
    • numeric_functions.py
    • functions
  • Moved components/functions/string_manipulation.py to components/disabled/functions/ decouple internal
    2 files
    • string_manipulation.py
    • functions

Debug Utility

1 file changed
  • debug.py Added `src/pyvider/utils/debug.py` (257 lines) with debugging helper functions
  • Added src/pyvider/utils/debug.py (257 lines) with debugging helper functions instantiate internal
    1 file
    • debug.py

Miscellaneous

6 files changed
  • file_content.py Updated `file_content.py` resource with enhanced config extraction strategies (multiple fallback ...
  • utils.py Removed `src/pyvider/schema/utils.py` (65 lines)
  • apply_resource_change.py Updated handler imports across `apply_resource_change.py`, `plan_resource_change.py`, `read_resou...
  • plan_resource_change.py Updated handler imports across `apply_resource_change.py`, `plan_resource_change.py`, `read_resou...
  • read_resource.py Updated handler imports across `apply_resource_change.py`, `plan_resource_change.py`, `read_resou...
  • read_data_source.py Updated handler imports across `apply_resource_change.py`, `plan_resource_change.py`, `read_resou...
  • Updated file_content.py resource with enhanced config extraction strategies (multiple fallback approaches for extracting filename/content from various config object types) harden internal
    1 file
    • file_content.py
  • Removed src/pyvider/schema/utils.py (65 lines) interface internal
    1 file
    • utils.py
  • Updated handler imports across apply_resource_change.py, plan_resource_change.py, read_resource.py, read_data_source.py, and validation handlers decouple internal
    4 files
    • apply_resource_change.py
    • plan_resource_change.py
    • read_resource.py
    • read_data_source.py