pyvider
2025-04-03
Moved data sources and function components back to `disabled/` directory
20 files · 710+ · 1,167-
Component Reorganization to disabled/
10 files changed
env_variables.pyMoved `components/data_sources/env_variables.py` to `components/disabled/data_resources/env_varia...env_variables.pyMoved `components/data_sources/env_variables.py` to `components/disabled/data_resources/env_varia...file_info.pyMoved `components/data_sources/file_info.py` to `components/disabled/data_resources/file_info.py`file_info.pyMoved `components/data_sources/file_info.py` to `components/disabled/data_resources/file_info.py`http_api.pyMoved `components/data_sources/http_api.py` to `components/disabled/data_resources/http_api.py`http_api.pyMoved `components/data_sources/http_api.py` to `components/disabled/data_resources/http_api.py`numeric_functions.pyMoved `components/functions/numeric_functions.py` to `components/disabled/functions/numeric_funct...numeric_functions.pyMoved `components/functions/numeric_functions.py` to `components/disabled/functions/numeric_funct...dynamic_config.pyMoved `components/resources/dynamic_config.py` to `components/disabled/resources/dynamic_config.py`dynamic_config.pyMoved `components/resources/dynamic_config.py` to `components/disabled/resources/dynamic_config.py`
- Moved
components/data_sources/env_variables.pytocomponents/disabled/data_resources/env_variables.pydecouple internal2 files
env_variables.pyenv_variables.py
- Moved
components/data_sources/file_info.pytocomponents/disabled/data_resources/file_info.pydecouple internal2 files
file_info.pyfile_info.py
- Moved
components/data_sources/http_api.pytocomponents/disabled/data_resources/http_api.pydecouple internal2 files
http_api.pyhttp_api.py
- Moved
components/functions/numeric_functions.pytocomponents/disabled/functions/numeric_functions.pydecouple internal2 files
numeric_functions.pynumeric_functions.py
- Moved
components/resources/dynamic_config.pytocomponents/disabled/resources/dynamic_config.pydecouple internal2 files
dynamic_config.pydynamic_config.py
- Updated schema imports in data resources from
pyvider.schema.pvfactorytopyvider.schemainterface internal2 files
pyvider.schema.pvfactorypyvider.schema
- Removed unused CTY type imports and
Schema,Block,StringKind,Attribute,AttributeType,SchemaTypefrom http_api.py deprecate internal21 files
file_content.pyenv.shdatabase_connection_test.tfkey_value_store_test.tfdynamic_config_test.tfenv_vars_test.tffile_content_test.tffile_info_test.tftest_functions.tfhttp_api_test.tftest_all_components.shschema.pyterraform.pyadapters.pybase.pydynamic_value_adapter.pyschema_types.pybase.pybase.pybase.pytest_tfprotov6_adapter_dynamic_value.py
Dynamic Value Adapter Expansion
1 file changed
dynamic_value_adapter.pyExpanded `dynamic_value_adapter.py` from 124 to 247 lines with additional conversion helpers and ...
Conversion Module Updates
4 files changed
schema.pyUpdated `conversion/schema.py` (48 lines of changes)terraform.pyUpdated `conversion/terraform.py` (269 lines of changes) with further method refinementstypes.pyUpdated `conversion/types.py` with schema type conversion improvementsadapters.pyUpdated `functions/adapters.py` with 38 lines of changes
- Updated
conversion/schema.py(48 lines of changes) interface internal1 file
schema.py
- Updated
conversion/terraform.py(269 lines of changes) with further method refinements baseline internal1 file
terraform.py
- Updated
conversion/types.pywith schema type conversion improvements interface internal1 file
types.py
- Updated
functions/adapters.pywith 38 lines of changes decouple internal1 file
adapters.py
Old Code Removal
3 files changed
terraform_codec.pyDeleted `src/pyvider/utils/terraform_codec.py` (737 lines)mock_message.protoDeleted `tests/utils/mock_message.proto` (6 lines) and `tests/utils/mock_message_pb2.py` (36 lines)mock_message_pb2.pyDeleted `tests/utils/mock_message.proto` (6 lines) and `tests/utils/mock_message_pb2.py` (36 lines)
Adapter Tests
1 file changed
test_tfprotov6_adapter_dynamic_value.pyAdded `tests/test_tfprotov6_adapter_dynamic_value.py` (161 lines) testing the new dynamic value a...
Miscellaneous
4 files changed
database_connection.pyUpdated `components/disabled/resources/database_connection.py` import from `pyvider.hub.decorator...key_value_store.pyUpdated `components/disabled/resources/key_value_store.py` with 8 lines of changesfile_content.pyUpdated `file_content.py` resource with 16 lines of changesnumeric_functions.pyWhitespace normalization in `numeric_functions.py` (trailing whitespace cleanup)
- Updated
components/disabled/resources/database_connection.pyimport frompyvider.hub.decoratorstopyvider.hubinterface internal1 file
database_connection.py
- Updated
components/disabled/resources/key_value_store.pywith 8 lines of changes decouple internal1 file
key_value_store.py
- Updated
file_content.pyresource with 16 lines of changes decouple internal1 file
file_content.py
- Whitespace normalization in
numeric_functions.py(trailing whitespace cleanup) deprecate errata1 file
numeric_functions.py