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.py Significantly expanded `components/data_sources/env_variables.py` (~730 lines, major rewrite with...
  • http_api.py Reworked `components/data_sources/http_api.py` with improved request handling (~182 lines of chan...
  • dynamic_config.py Created `components/resources/dynamic_config.py` (721 lines) - a new dynamic configuration resour...
  • file_content.py Updated `components/resources/file_content.py` and `components/data_sources/file_info.py` with mi...
  • file_info.py Updated `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 architectural
    1 file
    • env_variables.py
  • Reworked components/data_sources/http_api.py with improved request handling (~182 lines of changes) decouple internal
    1 file
    • http_api.py
  • Created components/resources/dynamic_config.py (721 lines) - a new dynamic configuration resource moved out of disabled decouple internal
    1 file
    • dynamic_config.py
  • Updated components/resources/file_content.py and components/data_sources/file_info.py with minor fixes remediate internal
    2 files
    • file_content.py
    • file_info.py

Exception System Updates

2 files changed
  • foundation.py Added `src/pyvider/exceptions/foundation.py` with foundational exception classes
  • __init__.py Added `core/exceptions/__init__.py` re-exports
  • Added src/pyvider/exceptions/foundation.py with foundational exception classes instantiate architectural
    1 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__.py
    • fake_cloud.py
    • fake_cloud_auth.py
    • env_variables.py
    • file_info.py
    • http_api.py
    • database_connection.py
    • dynamic_config.py
    • file_content.py
    • key_value_store.py
    • dynamic_config.py
    • 29250310-1442-claude-comparison-02.md
    • zipcode.py
    • dynamic_config_test.tf
    • env_vars_test.tf
    • file_content.py
    • file_info.tf
    • http_api.tf
    • populate-google-repo.sh
    • __init__.py
    • __init__.py
    • __main__.py
    • __init__.py
    • base_types.py
    • base.py
    • registry.py
    • wire.py
    • __init__.py
    • injector.py
    • services.py
    • __init__.py
    • foundation.py
    • function.py
    • grpc.py
    • registry.py
    • schema.py
    • serialization.py
    • validation.py
    • __init__.py
    • handler.py
    • validators.py
    • __init__.py
    • apply_resource_change.py
    • call_function.py
    • close_ephemeral_resource.py
    • config.py
    • configure_provider.py
    • data.py
    • ephemeral.py
    • get_functions.py
    • get_metadata.py
    • get_provider_schema.py
    • import_resource_state.py
    • move_resource_state.py
    • open_ephemeral_resource.py
    • plan_resource_change.py
    • read_data_source.py
    • read_resource.py
    • renew_ephemeral_resource.py
    • schema.py
    • stop_provider.py
    • upgrade_resource_state.py
    • validate_data_resource_config.py
    • validate_ephemeral_resource_config.py
    • validate_provider_config.py
    • validate_resource_config.py
    • __init__.py
    • __init__.py
    • base.py
    • config.py
    • provider.py
    • base.py
    • context.py
    • exceptions.py
    • protocol.py
    • types.py
    • __init__.py
    • crypto.py
    • debug.py
    • test_tfprotov6_adapter_dynamic_value.py
    • test_schema_attribute_path.py
  • Added core/exceptions/__init__.py re-exports instantiate internal
    1 file
    • __init__.py

Provider and Handler Fixes

3 files changed
  • get_functions.py Updated `get_functions.py`, `get_metadata.py`, and various lifecycle handlers
  • get_metadata.py Updated `get_functions.py`, `get_metadata.py`, and various lifecycle handlers
  • __init__.py Fixed protocol protobuf `__init__.py` exports
  • Updated all tfprotov6 handlers with new import paths and function signatures interface internal
    2 files
    • handler.py
    • provider.py
  • Added empty placeholder modules for config, data, ephemeral, and schema handlers interface internal
    2 files
    • handler.py
    • provider.py
  • Updated get_functions.py, get_metadata.py, and various lifecycle handlers decouple internal
    2 files
    • get_functions.py
    • get_metadata.py
  • Fixed protocol protobuf __init__.py exports remediate internal
    1 file
    • __init__.py

Build and Deploy

2 files changed
  • populate-google-repo.sh Updated `scripts/populate-google-repo.sh` with improved bundling logic
  • __init__.py Removed old `src/__init__.py` top-level module
  • Updated scripts/populate-google-repo.sh with improved bundling logic decouple internal
    1 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__.py
    • fake_cloud.py
    • fake_cloud_auth.py
    • env_variables.py
    • file_info.py
    • http_api.py
    • database_connection.py
    • dynamic_config.py
    • file_content.py
    • key_value_store.py
    • 29250310-1442-claude-comparison-02.md
    • zipcode.py
    • dynamic_config_test.tf
    • env_vars_test.tf
    • file_content.py
    • file_info.tf
    • http_api.tf
    • __init__.py
    • __main__.py
    • __init__.py
    • base_types.py
    • base.py
    • registry.py
    • wire.py
    • __init__.py
    • injector.py
    • services.py
    • __init__.py
    • function.py
    • grpc.py
    • registry.py
    • schema.py
    • serialization.py
    • validation.py
    • __init__.py
    • validators.py
    • __init__.py
    • apply_resource_change.py
    • call_function.py
    • close_ephemeral_resource.py
    • config.py
    • configure_provider.py
    • data.py
    • ephemeral.py
    • get_functions.py
    • get_metadata.py
    • get_provider_schema.py
    • import_resource_state.py
    • move_resource_state.py
    • open_ephemeral_resource.py
    • plan_resource_change.py
    • read_data_source.py
    • read_resource.py
    • renew_ephemeral_resource.py
    • schema.py
    • stop_provider.py
    • upgrade_resource_state.py
    • validate_data_resource_config.py
    • validate_ephemeral_resource_config.py
    • validate_provider_config.py
    • validate_resource_config.py
    • __init__.py
    • __init__.py
    • base.py
    • config.py
    • base.py
    • context.py
    • exceptions.py
    • protocol.py
    • types.py
    • __init__.py
    • crypto.py
    • debug.py
    • test_tfprotov6_adapter_dynamic_value.py
    • test_schema_attribute_path.py
  • Removed old src/__init__.py top-level module decouple internal
    1 file
    • __init__.py