pyvider
2025-04-17
Restructured function-related components, added new function test Terraform configurations,...
30 files · 529+ · 1,320-
Function System Enhancements
4 files changed
adapters.pyExpanded `src/pyvider/functions/adapters.py` with ~305 lines of improvements for function-to-dict...decorators.pyAdded 33 lines to `src/pyvider/functions/decorators.py` for improved function registration__init__.pyUpdated `src/pyvider/functions/__init__.py` with new exportswire.pyImproved `core/conversion/wire.py` with ~90 lines of changes for function operation context support
- Expanded
src/pyvider/functions/adapters.pywith ~305 lines of improvements for function-to-dict conversion and parameter handling decouple internal1 file
adapters.py
- Added 33 lines to
src/pyvider/functions/decorators.pyfor improved function registration instantiate internal1 file
decorators.py
- Updated
src/pyvider/functions/__init__.pywith new exports instantiate internal1 file
__init__.py
- Improved
core/conversion/wire.pywith ~90 lines of changes for function operation context support instantiate internal1 file
wire.py
Function Test Configurations
4 files changed
numeric_functions.tfCreated `examples/tf/functions_test/numeric_functions.tf` (37 lines) with numeric function test c...string_manipulation.tfCreated `examples/tf/functions_test/string_manipulation.tf` (32 lines) with string function testsprovider.tfCreated `examples/tf/functions_test/provider.tf` (16 lines) with provider configurationtest_functions.tfRemoved old monolithic `test_functions.tf`
- Created
examples/tf/functions_test/numeric_functions.tf(37 lines) with numeric function test cases qualify internal1 file
numeric_functions.tf
- Created
examples/tf/functions_test/string_manipulation.tf(32 lines) with string function tests qualify internal1 file
string_manipulation.tf
- Created
examples/tf/functions_test/provider.tf(16 lines) with provider configuration decouple internal1 file
provider.tf
- Removed old monolithic
test_functions.tfdecouple internal1 file
test_functions.tf
Component Cleanup
3 files changed
database_connection.pyRemoved `components/disabled/resources/database_connection.py` (686 lines)key_value_store.pyRemoved `components/disabled/resources/key_value_store.py` (455 lines)prepper.shAdded `scripts/prepper.sh` build helper script
- Removed
components/disabled/resources/database_connection.py(686 lines) decouple internal1 file
database_connection.py
- Removed
components/disabled/resources/key_value_store.py(455 lines) decouple internal1 file
key_value_store.py
- Moved function components between disabled and active directories
decouple
internal
34 files
__init__.pyenv_variables.pyfile_info.pyhttp_api.py.gitignore__init__.py__init__.py__init__.pynumeric_functions.pystring_manipulation.py__init__.pydynamic_config.pyfile_content.pydynamic_config_test.tftest_functions.tf__init__.pydecorators.pywire.py__init__.pybase.pyregistry.py__init__.pydecorators.pybase.py__init__.pycomponents.py__init__.pyfunction_adapter.pydynamic_value.pycall_function.pyget_functions.pyget_provider_schema.py__init__.pytest_file_content.py
- Added
scripts/prepper.shbuild helper script instantiate internal1 file
prepper.sh
Protocol Fixes
3 files changed
dynamic_value.pyUpdated `tfprotov6/conversion/dynamic_value.py` with ~57 lines of function-related conversion imp...call_function.pyFixed `call_function.py` and `get_functions.py` handler importsget_functions.pyFixed `call_function.py` and `get_functions.py` handler imports