pyvider
2025-04-14
Large-scale restructuring: expanded component data sources and resources with enhanced...
76 files · 1,923+ · 1,218-
Component Enhancements
5 files changed
env_variables.pySignificantly expanded `components/data_sources/env_variables.py` (~730 lines, major rewrite with...http_api.pyReworked `components/data_sources/http_api.py` with improved request handling (~182 lines of chan...dynamic_config.pyCreated `components/resources/dynamic_config.py` (721 lines) - a new dynamic configuration resour...file_content.pyUpdated `components/resources/file_content.py` and `components/data_sources/file_info.py` with mi...file_info.pyUpdated `components/resources/file_content.py` and `components/data_sources/file_info.py` with mi...
- Significantly expanded
components/data_sources/env_variables.py(~730 lines, major rewrite with better filtering and validation) decouple architectural1 file
env_variables.py
- Reworked
components/data_sources/http_api.pywith improved request handling (~182 lines of changes) decouple internal1 file
http_api.py
- Created
components/resources/dynamic_config.py(721 lines) - a new dynamic configuration resource moved out of disabled decouple internal1 file
dynamic_config.py
- Updated
components/resources/file_content.pyandcomponents/data_sources/file_info.pywith minor fixes remediate internal2 files
file_content.pyfile_info.py
Exception System Updates
2 files changed
foundation.pyAdded `src/pyvider/exceptions/foundation.py` with foundational exception classes__init__.pyAdded `core/exceptions/__init__.py` re-exports
- Added
src/pyvider/exceptions/foundation.pywith foundational exception classes instantiate architectural1 file
foundation.py
- Updated exception modules (function, grpc, registry, schema, serialization, validation) with additional base classes and improved hierarchy
interface
internal
82 files
__init__.py__init__.pyfake_cloud.pyfake_cloud_auth.pyenv_variables.pyfile_info.pyhttp_api.pydatabase_connection.pydynamic_config.pyfile_content.pykey_value_store.pydynamic_config.py29250310-1442-claude-comparison-02.mdzipcode.pydynamic_config_test.tfenv_vars_test.tffile_content.pyfile_info.tfhttp_api.tfpopulate-google-repo.sh__init__.py__init__.py__main__.py__init__.pybase_types.pybase.pyregistry.pywire.py__init__.pyinjector.pyservices.py__init__.pyfoundation.pyfunction.pygrpc.pyregistry.pyschema.pyserialization.pyvalidation.py__init__.pyhandler.pyvalidators.py__init__.pyapply_resource_change.pycall_function.pyclose_ephemeral_resource.pyconfig.pyconfigure_provider.pydata.pyephemeral.pyget_functions.pyget_metadata.pyget_provider_schema.pyimport_resource_state.pymove_resource_state.pyopen_ephemeral_resource.pyplan_resource_change.pyread_data_source.pyread_resource.pyrenew_ephemeral_resource.pyschema.pystop_provider.pyupgrade_resource_state.pyvalidate_data_resource_config.pyvalidate_ephemeral_resource_config.pyvalidate_provider_config.pyvalidate_resource_config.py__init__.py__init__.pybase.pyconfig.pyprovider.pybase.pycontext.pyexceptions.pyprotocol.pytypes.py__init__.pycrypto.pydebug.pytest_tfprotov6_adapter_dynamic_value.pytest_schema_attribute_path.py
- Added
core/exceptions/__init__.pyre-exports instantiate internal1 file
__init__.py
Provider and Handler Fixes
3 files changed
get_functions.pyUpdated `get_functions.py`, `get_metadata.py`, and various lifecycle handlersget_metadata.pyUpdated `get_functions.py`, `get_metadata.py`, and various lifecycle handlers__init__.pyFixed protocol protobuf `__init__.py` exports
- Updated all tfprotov6 handlers with new import paths and function signatures
interface
internal
2 files
handler.pyprovider.py
- Added empty placeholder modules for config, data, ephemeral, and schema handlers
interface
internal
2 files
handler.pyprovider.py
- Updated
get_functions.py,get_metadata.py, and various lifecycle handlers decouple internal2 files
get_functions.pyget_metadata.py
- Fixed protocol protobuf
__init__.pyexports remediate internal1 file
__init__.py
Build and Deploy
2 files changed
populate-google-repo.shUpdated `scripts/populate-google-repo.sh` with improved bundling logic__init__.pyRemoved old `src/__init__.py` top-level module
- Updated
scripts/populate-google-repo.shwith improved bundling logic decouple internal1 file
populate-google-repo.sh
- Added Terraform test configurations for integrated env_vars, file_info, and http_api tests
qualify
internal
76 files
__init__.py__init__.pyfake_cloud.pyfake_cloud_auth.pyenv_variables.pyfile_info.pyhttp_api.pydatabase_connection.pydynamic_config.pyfile_content.pykey_value_store.py29250310-1442-claude-comparison-02.mdzipcode.pydynamic_config_test.tfenv_vars_test.tffile_content.pyfile_info.tfhttp_api.tf__init__.py__main__.py__init__.pybase_types.pybase.pyregistry.pywire.py__init__.pyinjector.pyservices.py__init__.pyfunction.pygrpc.pyregistry.pyschema.pyserialization.pyvalidation.py__init__.pyvalidators.py__init__.pyapply_resource_change.pycall_function.pyclose_ephemeral_resource.pyconfig.pyconfigure_provider.pydata.pyephemeral.pyget_functions.pyget_metadata.pyget_provider_schema.pyimport_resource_state.pymove_resource_state.pyopen_ephemeral_resource.pyplan_resource_change.pyread_data_source.pyread_resource.pyrenew_ephemeral_resource.pyschema.pystop_provider.pyupgrade_resource_state.pyvalidate_data_resource_config.pyvalidate_ephemeral_resource_config.pyvalidate_provider_config.pyvalidate_resource_config.py__init__.py__init__.pybase.pyconfig.pybase.pycontext.pyexceptions.pyprotocol.pytypes.py__init__.pycrypto.pydebug.pytest_tfprotov6_adapter_dynamic_value.pytest_schema_attribute_path.py
- Removed old
src/__init__.pytop-level module decouple internal1 file
__init__.py