pyvider
2025-04-18
Created new capabilities and ephemerals decorator modules, added a wire-tester diagnostic...
46 files · 939+ · 1,001-
New Modules
6 files changed
__init__.pyAdded `src/pyvider/capabilities/__init__.py` (12 lines) and `capabilities/decorators.py` (moved f...decorators.pyAdded `src/pyvider/capabilities/__init__.py` (12 lines) and `capabilities/decorators.py` (moved f...__init__.pyAdded `src/pyvider/ephemerals/__init__.py` (11 lines) and `ephemerals/decorators.py` (25 lines) f...decorators.pyAdded `src/pyvider/ephemerals/__init__.py` (11 lines) and `ephemerals/decorators.py` (25 lines) f...__init__.pyAdded `src/pyvider/data_sources/__init__.py` (11 lines) with data source exportswire-tester.pyAdded `scripts/wire-tester.py` (236 lines) - a diagnostic tool for testing wire format serialization
- Added
src/pyvider/capabilities/__init__.py(12 lines) andcapabilities/decorators.py(moved from hub/decorators.py with 32 lines of changes) for capability registration decouple internal2 files
__init__.pydecorators.py
- Added
src/pyvider/ephemerals/__init__.py(11 lines) andephemerals/decorators.py(25 lines) for ephemeral resource registration instantiate internal2 files
__init__.pydecorators.py
- Added
src/pyvider/data_sources/__init__.py(11 lines) with data source exports instantiate internal1 file
__init__.py
- Added
scripts/wire-tester.py(236 lines) - a diagnostic tool for testing wire format serialization qualify errata1 file
wire-tester.py
Core Conversion Rework
4 files changed
wire.pyHeavily refactored `core/conversion/wire.py` (~502 lines of changes) simplifying the marshal/unma...protocols.pyUpdated `core/conversion/protocols.py` with revised interface definitionsregistry.pyMinor fixes to `core/conversion/registry.py` and `__init__.py`__init__.pyMinor fixes to `core/conversion/registry.py` and `__init__.py`
- Heavily refactored
core/conversion/wire.py(~502 lines of changes) simplifying the marshal/unmarshal pipeline decouple internal1 file
wire.py
- Updated
core/conversion/protocols.pywith revised interface definitions interface internal1 file
protocols.py
- Minor fixes to
core/conversion/registry.pyand__init__.pyremediate internal2 files
registry.py__init__.py
Protocol Dynamic Value Expansion
2 files changed
dynamic_value.pyAdded 156 lines to `tfprotov6/conversion/dynamic_value.py` for improved value conversioncall_function.pyReworked `call_function.py` handler (~196 lines of changes) with updated conversion flow
- Added 156 lines to
tfprotov6/conversion/dynamic_value.pyfor improved value conversion instantiate internal1 file
dynamic_value.py
- Reworked
call_function.pyhandler (~196 lines of changes) with updated conversion flow decouple internal1 file
call_function.py
- Updated multiple handlers (apply, plan, read_data_source, read_resource, get_metadata, get_provider_schema) with new imports
instantiate
internal
28 files
__init__.py__init__.pyfake_cloud.pyfake_cloud_auth.pyhttp_api.py__init__.pydatabase_connection.pykey_value_store.py__init__.pyenv_vars_test.tfnumeric_functions.tfprovider.tfstring_manipulation.tftest_functions.tffile_content.tfprepper.shdecorators.pybase.pyapply_resource_change.pyget_functions.pyget_metadata.pyplan_resource_change.pyread_data_source.pyread_resource.pyvalidate_data_resource_config.py__init__.pybase.py__init__.py
Cleanup
5 files changed
crypto.pyRemoved `src/pyvider/utils/crypto.py` (100 lines of unused crypto utilities)debug.pyRemoved `src/pyvider/utils/debug.py` (260 lines of unused debug helpers)components.pySimplified `hub/components.py` (~142 lines of changes)base.pyMinor fixes to `resources/base.py` and `functions/` modulesfunctionsMinor fixes to `resources/base.py` and `functions/` modules
- Removed
src/pyvider/utils/crypto.py(100 lines of unused crypto utilities) deprecate internal1 file
crypto.py
- Removed
src/pyvider/utils/debug.py(260 lines of unused debug helpers) deprecate internal1 file
debug.py
- Simplified
hub/components.py(~142 lines of changes) decouple internal1 file
components.py
- Minor fixes to
resources/base.pyandfunctions/modules remediate internal2 files
base.pyfunctions