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
adaptersDeleted entire `src/pyvider/protocols/adapters/` tree including:cty_protobuf.pyDeleted `protocols/tfprotov6/adapters/cty_protobuf.py` (159 lines) and `schema_adapter.py` (622 l...schema_adapter.pyDeleted `protocols/tfprotov6/adapters/cty_protobuf.py` (159 lines) and `schema_adapter.py` (622 l...__init__.pyRemoved `src/pyvider/protocols/__init__.py` contents (10 lines)
- Deleted entire
src/pyvider/protocols/adapters/tree including: decouple internal1 file
adapters
- Deleted
protocols/tfprotov6/adapters/cty_protobuf.py(159 lines) andschema_adapter.py(622 lines) decouple internal2 files
cty_protobuf.pyschema_adapter.py
- Removed
src/pyvider/protocols/__init__.pycontents (10 lines) decouple internal1 file
__init__.py
New Protocol-Level Conversion Modules
3 files changed
schema_adapter.pyAdded `src/pyvider/protocols/tfprotov6/schema_adapter.py` (311 lines) as a simplified, inline sch...type_conversion.pyAdded `src/pyvider/protocols/tfprotov6/type_conversion.py` (278 lines) for direct type conversion...dynamic_value_adapter.pyAdded `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 internal1 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 internal1 file
type_conversion.py
- Added
src/pyvider/protocols/tfprotov6/dynamic_value_adapter.py(274 lines) for DynamicValue encode/decode instantiate internal1 file
dynamic_value_adapter.py
Glom Code Removal
7 files changed
glom_functions.pyDeleted `components/disabled/functions/glom_functions.py` (571 lines)glom_impl.pyDeleted `components/disabled/functions/glom_impl.py` (256 lines)glom_wrapper.pyDeleted `components/disabled/functions/glom_wrapper.py` (293 lines)test_old_glom.pyDeleted `components/disabled/functions/test_old_glom.py` (2,205 lines)test_glom_functions.pyDeleted `components/tests/glom/test_glom_functions.py` (564 lines), `test_glom_integration.py` (1...test_glom_integration.pyDeleted `components/tests/glom/test_glom_functions.py` (564 lines), `test_glom_integration.py` (1...test_glom_wrapper.pyDeleted `components/tests/glom/test_glom_functions.py` (564 lines), `test_glom_integration.py` (1...
- Deleted
components/disabled/functions/glom_functions.py(571 lines) decouple internal1 file
glom_functions.py
- Deleted
components/disabled/functions/glom_impl.py(256 lines) decouple internal1 file
glom_impl.py
- Deleted
components/disabled/functions/glom_wrapper.py(293 lines) decouple internal1 file
glom_wrapper.py
- Deleted
components/disabled/functions/test_old_glom.py(2,205 lines) decouple internal1 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 internal3 files
test_glom_functions.pytest_glom_integration.pytest_glom_wrapper.py
Component Reorganization
3 files changed
numeric_functions.pyMoved `components/functions/numeric_functions.py` to `components/disabled/functions/`functionsMoved `components/functions/numeric_functions.py` to `components/disabled/functions/`string_manipulation.pyMoved `components/functions/string_manipulation.py` to `components/disabled/functions/`
Debug Utility
1 file changed
debug.pyAdded `src/pyvider/utils/debug.py` (257 lines) with debugging helper functions
- Added
src/pyvider/utils/debug.py(257 lines) with debugging helper functions instantiate internal1 file
debug.py
Miscellaneous
6 files changed
file_content.pyUpdated `file_content.py` resource with enhanced config extraction strategies (multiple fallback ...utils.pyRemoved `src/pyvider/schema/utils.py` (65 lines)apply_resource_change.pyUpdated handler imports across `apply_resource_change.py`, `plan_resource_change.py`, `read_resou...plan_resource_change.pyUpdated handler imports across `apply_resource_change.py`, `plan_resource_change.py`, `read_resou...read_resource.pyUpdated handler imports across `apply_resource_change.py`, `plan_resource_change.py`, `read_resou...read_data_source.pyUpdated handler imports across `apply_resource_change.py`, `plan_resource_change.py`, `read_resou...
- Updated
file_content.pyresource with enhanced config extraction strategies (multiple fallback approaches for extracting filename/content from various config object types) harden internal1 file
file_content.py
- Removed
src/pyvider/schema/utils.py(65 lines) interface internal1 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 internal4 files
apply_resource_change.pyplan_resource_change.pyread_resource.pyread_data_source.py