pyvider 2025-10-14
Type annotation improvements throughout CLI modules, simplified license format, added Python 3
84 files · 6,705+ · 1,896-

Type Annotation Fixes

58 files changed
  • provide_command.py Updated provide_command.py (+43/-45 lines)
  • settings.local.json Updated settings.local.json (+26/-2 lines)
  • .gitignore Added .gitignore (+2 lines)
  • .venv_darwin_arm64 Added .venv_darwin_arm64 (+1 lines)
  • FOUNDATION_INTEGRATION_PLAN.md Added FOUNDATION_INTEGRATION_PLAN.md (+890 lines)
  • FUTURE_PHASES.md Updated FUTURE_PHASES.md (+2/-2 lines)
  • VERSION Updated VERSION (+1/-1 lines)
  • coverage.json Added coverage.json (+1 lines)
  • pyproject.toml Updated pyproject.toml (+2/-3 lines)
  • __main__.py Updated __main__.py (+7/-2 lines)
  • components_commands.py Updated components_commands.py (+2/-1 lines)
  • config_commands.py Updated config_commands.py (+2/-1 lines)
  • context.py Updated context.py (+5/-5 lines)
  • install_command.py Updated install_command.py (+1/-1 lines)
  • launch_context_command.py Updated launch_context_command.py (+3/-3 lines)
  • main.py Updated main.py (+3/-1 lines)
  • utils.py Updated utils.py (+104/-33 lines)
  • config.py Updated config.py (+2/-2 lines)
  • encryption.py Updated encryption.py (+351/-65 lines)
  • launch_context.py Updated launch_context.py (+7/-6 lines)
  • __init__.py Updated __init__.py (+1/-7 lines)
  • base.py Updated base.py (+2/-8 lines)
  • function.py Updated function.py (+3/-3 lines)
  • resource.py Updated resource.py (+3/-1 lines)
  • schema.py Updated schema.py (+3/-3 lines)
  • validation.py Updated validation.py (+7/-4 lines)
  • components.py Updated components.py (+1/-1 lines)
  • discovery.py Updated discovery.py (+2/-3 lines)
  • __init__.py Added __init__.py (+69 lines)
  • metrics.py Added metrics.py (+147 lines)
  • apply_resource_change.py Added apply_resource_change.py (+23 lines)
  • call_function.py Added call_function.py (+23 lines)
  • close_ephemeral_resource.py Added close_ephemeral_resource.py (+25 lines)
  • configure_provider.py Added configure_provider.py (+23 lines)
  • get_functions.py Added get_functions.py (+23 lines)
  • get_metadata.py Added get_metadata.py (+23 lines)
  • get_provider_schema.py Added get_provider_schema.py (+23 lines)
  • import_resource_state.py Added import_resource_state.py (+26 lines)
  • move_resource_state.py Added move_resource_state.py (+26 lines)
  • open_ephemeral_resource.py Updated open_ephemeral_resource.py (+26/-1 lines)
  • plan_resource_change.py Added plan_resource_change.py (+24 lines)
  • read_data_source.py Added read_data_source.py (+27 lines)
  • read_resource.py Added read_resource.py (+22 lines)
  • renew_ephemeral_resource.py Updated renew_ephemeral_resource.py (+26/-1 lines)
  • stop_provider.py Updated stop_provider.py (+23/-1 lines)
  • upgrade_resource_state.py Added upgrade_resource_state.py (+25 lines)
  • utils.py Updated utils.py (+2/-2 lines)
  • validate_data_resource_config.py Added validate_data_resource_config.py (+26 lines)
  • validate_ephemeral_resource_config.py Added validate_ephemeral_resource_config.py (+25 lines)
  • validate_provider_config.py Added validate_provider_config.py (+24 lines)
  • validate_resource_config.py Added validate_resource_config.py (+27 lines)
  • __init__.py Updated __init__.py (+32/-32 lines)
  • tfplugin6_pb2_grpc.py Removed content from tfplugin6_pb2_grpc.py (-932 lines)
  • tfplugin6_pb2.pyi Updated tfplugin6_pb2.pyi (+1/-1 lines)
  • utils.py Updated utils.py (+0/-0 lines)
  • lifecycle.py Updated lifecycle.py (+2/-2 lines)
  • protocol.py Updated protocol.py (+7/-4 lines)
  • uv.lock Updated uv.lock (+2233/-602 lines)
  • Added from typing import Any and changed **kwargs to **kwargs: Any in CLI command handlers (components, config, cli main group) specify behavioral
    1 file
    • provide_command.py
  • Added # noqa: C901 to complex functions (install_command, launch_context_cmd) instantiate internal
    1 file
    • provide_command.py
  • Added LaunchMethod type annotation to _show_method_specific_help() parameter specify internal
    1 file
    • provide_command.py
  • Removed unused setup_logging import from provide_command.py deprecate internal
    1 file
    • provide_command.py

License and Classifiers

85 files changed
  • settings.local.json Changes to settings.local.json
  • .gitignore Changes to .gitignore
  • .venv_darwin_arm64 Changes to .venv_darwin_arm64
  • FOUNDATION_INTEGRATION_PLAN.md Changes to FOUNDATION_INTEGRATION_PLAN.md
  • FUTURE_PHASES.md Changes to FUTURE_PHASES.md
  • VERSION Changes to VERSION
  • coverage.json Changes to coverage.json
  • pyproject.toml Changes to pyproject.toml
  • _version.py Changes to _version.py
  • __main__.py Changes to __main__.py
  • components_commands.py Changes to components_commands.py
  • config_commands.py Changes to config_commands.py
  • context.py Changes to context.py
  • install_command.py Changes to install_command.py
  • launch_context_command.py Changes to launch_context_command.py
  • main.py Changes to main.py
  • provide_command.py Changes to provide_command.py
  • utils.py Changes to utils.py
  • config.py Changes to config.py
  • encryption.py Changes to encryption.py
  • launch_context.py Changes to launch_context.py
  • __init__.py Changes to __init__.py
  • base.py Changes to base.py
  • function.py Changes to function.py
  • resource.py Changes to resource.py
  • schema.py Changes to schema.py
  • validation.py Changes to validation.py
  • components.py Changes to components.py
  • discovery.py Changes to discovery.py
  • __init__.py Changes to __init__.py
  • metrics.py Changes to metrics.py
  • apply_resource_change.py Changes to apply_resource_change.py
  • call_function.py Changes to call_function.py
  • close_ephemeral_resource.py Changes to close_ephemeral_resource.py
  • configure_provider.py Changes to configure_provider.py
  • get_functions.py Changes to get_functions.py
  • get_metadata.py Changes to get_metadata.py
  • get_provider_schema.py Changes to get_provider_schema.py
  • import_resource_state.py Changes to import_resource_state.py
  • move_resource_state.py Changes to move_resource_state.py
  • open_ephemeral_resource.py Changes to open_ephemeral_resource.py
  • plan_resource_change.py Changes to plan_resource_change.py
  • read_data_source.py Changes to read_data_source.py
  • read_resource.py Changes to read_resource.py
  • renew_ephemeral_resource.py Changes to renew_ephemeral_resource.py
  • stop_provider.py Changes to stop_provider.py
  • upgrade_resource_state.py Changes to upgrade_resource_state.py
  • utils.py Changes to utils.py
  • validate_data_resource_config.py Changes to validate_data_resource_config.py
  • validate_ephemeral_resource_config.py Changes to validate_ephemeral_resource_config.py
  • validate_provider_config.py Changes to validate_provider_config.py
  • validate_resource_config.py Changes to validate_resource_config.py
  • __init__.py Changes to __init__.py
  • tfplugin6_pb2_grpc.py Changes to tfplugin6_pb2_grpc.py
  • tfplugin6_pb2.pyi Changes to tfplugin6_pb2.pyi
  • utils.py Changes to utils.py
  • lifecycle.py Changes to lifecycle.py
  • protocol.py Changes to protocol.py
  • test_decorators.py Changes to test_decorators.py
  • test_cli_entrypoints.py Changes to test_cli_entrypoints.py
  • test_cli_utils.py Changes to test_cli_utils.py
  • test_install_utils.py Changes to test_install_utils.py
  • test_attrs_factory.py Changes to test_attrs_factory.py
  • test_availability.py Changes to test_availability.py
  • test_base_context.py Changes to test_base_context.py
  • test_encryption_unit.py Changes to test_encryption_unit.py
  • test_launch_context.py Changes to test_launch_context.py
  • test_launch_context_extra.py Changes to test_launch_context_extra.py
  • test_context_package.py Changes to test_context_package.py
  • test_utils.py Changes to test_utils.py
  • test_exceptions_hierarchy.py Changes to test_exceptions_hierarchy.py
  • test_private_state_encryption.py Changes to test_private_state_encryption.py
  • mock_type.py Changes to mock_type.py
  • __init__.py Changes to __init__.py
  • test_handler_metrics.py Changes to test_handler_metrics.py
  • test_metrics.py Changes to test_metrics.py
  • test_service.py Changes to test_service.py
  • test_exceptions.py Changes to test_exceptions.py
  • test_lifecycle.py Changes to test_lifecycle.py
  • test_resource_context.py Changes to test_resource_context.py
  • test_resource_protocol.py Changes to test_resource_protocol.py
  • test_exceptions.py Changes to test_exceptions.py
  • test_handler.py Changes to test_handler.py
  • test_version.py Changes to test_version.py
  • uv.lock Changes to uv.lock
  • Simplified license from { text = "Apache-2.0" } to string "Apache-2.0" decouple internal
    85 files
    • settings.local.json
    • .gitignore
    • .venv_darwin_arm64
    • FOUNDATION_INTEGRATION_PLAN.md
    • FUTURE_PHASES.md
    • VERSION
    • coverage.json
    • pyproject.toml
    • _version.py
    • __main__.py
    • components_commands.py
    • config_commands.py
    • context.py
    • install_command.py
    • launch_context_command.py
    • main.py
    • provide_command.py
    • utils.py
    • config.py
    • encryption.py
    • launch_context.py
    • __init__.py
    • base.py
    • function.py
    • resource.py
    • schema.py
    • validation.py
    • components.py
    • discovery.py
    • __init__.py
    • metrics.py
    • apply_resource_change.py
    • call_function.py
    • close_ephemeral_resource.py
    • configure_provider.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
    • stop_provider.py
    • upgrade_resource_state.py
    • utils.py
    • validate_data_resource_config.py
    • validate_ephemeral_resource_config.py
    • validate_provider_config.py
    • validate_resource_config.py
    • __init__.py
    • tfplugin6_pb2_grpc.py
    • tfplugin6_pb2.pyi
    • utils.py
    • lifecycle.py
    • protocol.py
    • test_decorators.py
    • test_cli_entrypoints.py
    • test_cli_utils.py
    • test_install_utils.py
    • test_attrs_factory.py
    • test_availability.py
    • test_base_context.py
    • test_encryption_unit.py
    • test_launch_context.py
    • test_launch_context_extra.py
    • test_context_package.py
    • test_utils.py
    • test_exceptions_hierarchy.py
    • test_private_state_encryption.py
    • mock_type.py
    • __init__.py
    • test_handler_metrics.py
    • test_metrics.py
    • test_service.py
    • test_exceptions.py
    • test_lifecycle.py
    • test_resource_context.py
    • test_resource_protocol.py
    • test_exceptions.py
    • test_handler.py
    • test_version.py
    • uv.lock
  • Removed "License :: OSI Approved :: Apache Software License" classifier decouple internal
    85 files
    • settings.local.json
    • .gitignore
    • .venv_darwin_arm64
    • FOUNDATION_INTEGRATION_PLAN.md
    • FUTURE_PHASES.md
    • VERSION
    • coverage.json
    • pyproject.toml
    • _version.py
    • __main__.py
    • components_commands.py
    • config_commands.py
    • context.py
    • install_command.py
    • launch_context_command.py
    • main.py
    • provide_command.py
    • utils.py
    • config.py
    • encryption.py
    • launch_context.py
    • __init__.py
    • base.py
    • function.py
    • resource.py
    • schema.py
    • validation.py
    • components.py
    • discovery.py
    • __init__.py
    • metrics.py
    • apply_resource_change.py
    • call_function.py
    • close_ephemeral_resource.py
    • configure_provider.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
    • stop_provider.py
    • upgrade_resource_state.py
    • utils.py
    • validate_data_resource_config.py
    • validate_ephemeral_resource_config.py
    • validate_provider_config.py
    • validate_resource_config.py
    • __init__.py
    • tfplugin6_pb2_grpc.py
    • tfplugin6_pb2.pyi
    • utils.py
    • lifecycle.py
    • protocol.py
    • test_decorators.py
    • test_cli_entrypoints.py
    • test_cli_utils.py
    • test_install_utils.py
    • test_attrs_factory.py
    • test_availability.py
    • test_base_context.py
    • test_encryption_unit.py
    • test_launch_context.py
    • test_launch_context_extra.py
    • test_context_package.py
    • test_utils.py
    • test_exceptions_hierarchy.py
    • test_private_state_encryption.py
    • mock_type.py
    • __init__.py
    • test_handler_metrics.py
    • test_metrics.py
    • test_service.py
    • test_exceptions.py
    • test_lifecycle.py
    • test_resource_context.py
    • test_resource_protocol.py
    • test_exceptions.py
    • test_handler.py
    • test_version.py
    • uv.lock
  • Added "Programming Language :: Python :: 3.11" and "Programming Language :: Python :: 3.12" classifiers instantiate internal
    85 files
    • settings.local.json
    • .gitignore
    • .venv_darwin_arm64
    • FOUNDATION_INTEGRATION_PLAN.md
    • FUTURE_PHASES.md
    • VERSION
    • coverage.json
    • pyproject.toml
    • _version.py
    • __main__.py
    • components_commands.py
    • config_commands.py
    • context.py
    • install_command.py
    • launch_context_command.py
    • main.py
    • provide_command.py
    • utils.py
    • config.py
    • encryption.py
    • launch_context.py
    • __init__.py
    • base.py
    • function.py
    • resource.py
    • schema.py
    • validation.py
    • components.py
    • discovery.py
    • __init__.py
    • metrics.py
    • apply_resource_change.py
    • call_function.py
    • close_ephemeral_resource.py
    • configure_provider.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
    • stop_provider.py
    • upgrade_resource_state.py
    • utils.py
    • validate_data_resource_config.py
    • validate_ephemeral_resource_config.py
    • validate_provider_config.py
    • validate_resource_config.py
    • __init__.py
    • tfplugin6_pb2_grpc.py
    • tfplugin6_pb2.pyi
    • utils.py
    • lifecycle.py
    • protocol.py
    • test_decorators.py
    • test_cli_entrypoints.py
    • test_cli_utils.py
    • test_install_utils.py
    • test_attrs_factory.py
    • test_availability.py
    • test_base_context.py
    • test_encryption_unit.py
    • test_launch_context.py
    • test_launch_context_extra.py
    • test_context_package.py
    • test_utils.py
    • test_exceptions_hierarchy.py
    • test_private_state_encryption.py
    • mock_type.py
    • __init__.py
    • test_handler_metrics.py
    • test_metrics.py
    • test_service.py
    • test_exceptions.py
    • test_lifecycle.py
    • test_resource_context.py
    • test_resource_protocol.py
    • test_exceptions.py
    • test_handler.py
    • test_version.py
    • uv.lock

Minor Fixes

26 files changed
  • test_handler.py Added test_handler.py (+95 lines)
  • test_version.py Added test_version.py (+36 lines)
  • test_decorators.py Added test_decorators.py (+99 lines)
  • test_cli_entrypoints.py Added test_cli_entrypoints.py (+64 lines)
  • test_cli_utils.py Added test_cli_utils.py (+191 lines)
  • test_install_utils.py Added test_install_utils.py (+187 lines)
  • test_attrs_factory.py Added test_attrs_factory.py (+89 lines)
  • test_availability.py Added test_availability.py (+84 lines)
  • test_base_context.py Added test_base_context.py (+65 lines)
  • test_encryption_unit.py Updated test_encryption_unit.py (+130/-109 lines)
  • test_launch_context.py Added test_launch_context.py (+163 lines)
  • test_launch_context_extra.py Added test_launch_context_extra.py (+86 lines)
  • test_context_package.py Added test_context_package.py (+14 lines)
  • test_utils.py Added test_utils.py (+65 lines)
  • test_exceptions_hierarchy.py Updated test_exceptions_hierarchy.py (+14/-1 lines)
  • test_private_state_encryption.py Updated test_private_state_encryption.py (+4/-4 lines)
  • mock_type.py Removed content from mock_type.py (-1 lines)
  • __init__.py Added __init__.py (+1 lines)
  • test_handler_metrics.py Added test_handler_metrics.py (+194 lines)
  • test_metrics.py Added test_metrics.py (+357 lines)
  • test_service.py Added test_service.py (+108 lines)
  • test_exceptions.py Added test_exceptions.py (+34 lines)
  • test_lifecycle.py Added test_lifecycle.py (+37 lines)
  • test_resource_context.py Added test_resource_context.py (+40 lines)
  • test_resource_protocol.py Added test_resource_protocol.py (+34 lines)
  • test_exceptions.py Added test_exceptions.py (+54 lines)

Hypothesis Artifacts

85 files changed
  • settings.local.json Changes to settings.local.json
  • .gitignore Changes to .gitignore
  • .venv_darwin_arm64 Changes to .venv_darwin_arm64
  • FOUNDATION_INTEGRATION_PLAN.md Changes to FOUNDATION_INTEGRATION_PLAN.md
  • FUTURE_PHASES.md Changes to FUTURE_PHASES.md
  • VERSION Changes to VERSION
  • coverage.json Changes to coverage.json
  • pyproject.toml Changes to pyproject.toml
  • _version.py Changes to _version.py
  • __main__.py Changes to __main__.py
  • components_commands.py Changes to components_commands.py
  • config_commands.py Changes to config_commands.py
  • context.py Changes to context.py
  • install_command.py Changes to install_command.py
  • launch_context_command.py Changes to launch_context_command.py
  • main.py Changes to main.py
  • provide_command.py Changes to provide_command.py
  • utils.py Changes to utils.py
  • config.py Changes to config.py
  • encryption.py Changes to encryption.py
  • launch_context.py Changes to launch_context.py
  • __init__.py Changes to __init__.py
  • base.py Changes to base.py
  • function.py Changes to function.py
  • resource.py Changes to resource.py
  • schema.py Changes to schema.py
  • validation.py Changes to validation.py
  • components.py Changes to components.py
  • discovery.py Changes to discovery.py
  • __init__.py Changes to __init__.py
  • metrics.py Changes to metrics.py
  • apply_resource_change.py Changes to apply_resource_change.py
  • call_function.py Changes to call_function.py
  • close_ephemeral_resource.py Changes to close_ephemeral_resource.py
  • configure_provider.py Changes to configure_provider.py
  • get_functions.py Changes to get_functions.py
  • get_metadata.py Changes to get_metadata.py
  • get_provider_schema.py Changes to get_provider_schema.py
  • import_resource_state.py Changes to import_resource_state.py
  • move_resource_state.py Changes to move_resource_state.py
  • open_ephemeral_resource.py Changes to open_ephemeral_resource.py
  • plan_resource_change.py Changes to plan_resource_change.py
  • read_data_source.py Changes to read_data_source.py
  • read_resource.py Changes to read_resource.py
  • renew_ephemeral_resource.py Changes to renew_ephemeral_resource.py
  • stop_provider.py Changes to stop_provider.py
  • upgrade_resource_state.py Changes to upgrade_resource_state.py
  • utils.py Changes to utils.py
  • validate_data_resource_config.py Changes to validate_data_resource_config.py
  • validate_ephemeral_resource_config.py Changes to validate_ephemeral_resource_config.py
  • validate_provider_config.py Changes to validate_provider_config.py
  • validate_resource_config.py Changes to validate_resource_config.py
  • __init__.py Changes to __init__.py
  • tfplugin6_pb2_grpc.py Changes to tfplugin6_pb2_grpc.py
  • tfplugin6_pb2.pyi Changes to tfplugin6_pb2.pyi
  • utils.py Changes to utils.py
  • lifecycle.py Changes to lifecycle.py
  • protocol.py Changes to protocol.py
  • test_decorators.py Changes to test_decorators.py
  • test_cli_entrypoints.py Changes to test_cli_entrypoints.py
  • test_cli_utils.py Changes to test_cli_utils.py
  • test_install_utils.py Changes to test_install_utils.py
  • test_attrs_factory.py Changes to test_attrs_factory.py
  • test_availability.py Changes to test_availability.py
  • test_base_context.py Changes to test_base_context.py
  • test_encryption_unit.py Changes to test_encryption_unit.py
  • test_launch_context.py Changes to test_launch_context.py
  • test_launch_context_extra.py Changes to test_launch_context_extra.py
  • test_context_package.py Changes to test_context_package.py
  • test_utils.py Changes to test_utils.py
  • test_exceptions_hierarchy.py Changes to test_exceptions_hierarchy.py
  • test_private_state_encryption.py Changes to test_private_state_encryption.py
  • mock_type.py Changes to mock_type.py
  • __init__.py Changes to __init__.py
  • test_handler_metrics.py Changes to test_handler_metrics.py
  • test_metrics.py Changes to test_metrics.py
  • test_service.py Changes to test_service.py
  • test_exceptions.py Changes to test_exceptions.py
  • test_lifecycle.py Changes to test_lifecycle.py
  • test_resource_context.py Changes to test_resource_context.py
  • test_resource_protocol.py Changes to test_resource_protocol.py
  • test_exceptions.py Changes to test_exceptions.py
  • test_handler.py Changes to test_handler.py
  • test_version.py Changes to test_version.py
  • uv.lock Changes to uv.lock
  • Removed hypothesis test constant files (accounting for most of the 1,152 deletions) qualify internal
    1 file
    • _version.py