pyvider
2025-11-04
Migrated CLI output from `click
94 files · 1,652+ · 3,610-
Migrated to provide-foundation Console Output
10 files changed
settings.local.jsonUpdated settings.local.json (+8/-4 lines).gitignoreAdded .gitignore (+3 lines)MakefileAdded Makefile (+13 lines)ai2.shRemoved content from ai2.sh (-1642 lines)components_commands.pyUpdated components_commands.py (+4/-4 lines)install_command.pyUpdated install_command.py (+13/-23 lines)launch_context_command.pyUpdated launch_context_command.py (+42/-41 lines)main.pyUpdated main.py (+35/-4 lines)provide_command.pyUpdated provide_command.py (+56/-57 lines)utils.pyAdded utils.py (+5 lines)
- Replaced
click.secho()calls withpout()fromprovide.foundation.consoleacross multiple CLI modules: decouple behavioral1 file
provide.foundation.console
Encryption Docstring Fix
24 files changed
cli.mdRemoved content from cli.md (-10 lines)common.mdRemoved content from common.md (-10 lines)index.mdRemoved content from index.md (-13 lines)data_sources.mdRemoved content from data_sources.md (-10 lines)ephemerals.mdRemoved content from ephemerals.md (-9 lines)exceptions.mdRemoved content from exceptions.md (-52 lines)functions.mdRemoved content from functions.md (-10 lines)hub.mdRemoved content from hub.md (-10 lines)index.mdRemoved content from index.md (-10 lines)observability.mdRemoved content from observability.md (-30 lines)index.mdRemoved content from index.md (-10 lines)index.mdRemoved content from index.md (-10 lines)resources.mdRemoved content from resources.md (-10 lines)index.mdRemoved content from index.md (-10 lines)types.mdRemoved content from types.md (-10 lines)README.mdRemoved content from README.md (-79 lines)bundling-components.mdRemoved content from bundling-components.md (-85 lines)capability-composition.mdRemoved content from capability-composition.md (-31 lines)capability-lifecycle.mdRemoved content from capability-lifecycle.md (-20 lines)capability-marketplace.mdRemoved content from capability-marketplace.md (-74 lines)creating-capabilities.mdRemoved content from creating-capabilities.md (-29 lines)using-capabilities.mdRemoved content from using-capabilities.md (-76 lines)guidelines.mdRemoved content from guidelines.md (-1 lines)mkdocs.ymlUpdated mkdocs.yml (+6/-4 lines)
- Changed bracket notation in encryption format documentation from
[1 byte: version][16 bytes: salt]...to1 byte (version) + 16 bytes (salt)...to avoid RST/docstring rendering issues specify errata106 files
settings.local.json.gitignore.mutmut-config.pyMakefilecli.mdcommon.mdindex.mddata_sources.mdephemerals.mdexceptions.mdfunctions.mdhub.mdindex.mdobservability.mdindex.mdindex.mdresources.mdindex.mdtypes.mdREADME.mdbundling-components.mdcapability-composition.mdcapability-lifecycle.mdcapability-marketplace.mdcreating-capabilities.mdusing-capabilities.mdguidelines.mdinstallation.mdmkdocs.ymlcheck_doc_links.pyai2.shcomponents_commands.pyinstall_command.pylaunch_context_command.pymain.pyprovide_command.pyencryption.pyutils.pytest_cli_utils.pytest_context.pytest_launch_context_command.pytest_provide_command.pytest_pyvider_cli.pytest_availability.pytest_base_context.pytest_config.pytest_encryption_unit.pytest_launch_context.pytest_launch_context_extra.pyconftest.pytest_terraform_conversion.pytest_base_data_source.pytest_exceptions_hierarchy.pytest_diagnostics_api.pytest_private_state_encryption.pytest_schema_caching.pytest_base_function.pytest_base_function_complete.pytest_function_adapters_extraction.pytest_function_adapters_types.pytest_discovery.pytest_handler_metrics.pytest_cty_conversions.pytest_function_adapter.pytest_service.pytest_pyvider_provider.pytest_base_resource.pytest_base_resource_conversion.pytest_base_resource_lifecycle.pytest_protocol.pytest_resource_protocol.pytest_tdd_ephemeral_resource_lifecycle.pytest_tdd_private_state.pytest_tdd_private_state_in_read.pytest_tdd_private_state_lifecycle.pytest_tdd_resource_context_contract.pytest_factory_helpers.pytest_transforms.pytest_transformation_operations.pytest_tdd_capability_association.pytest_handler_core.pytest_handler_resources.pytest_version.pytest_dict_to_proto_function.pyconftest.pytest_apply_resource_change_advanced.pytest_apply_resource_change_core.pytest_call_function_advanced.pytest_call_function_core.pytest_close_ephemeral_resource.pytest_configure_provider.pytest_enhanced_error_messages.pytest_get_functions.pytest_get_metadata.pytest_get_provider_schema.pytest_handler_utils_diagnostics.pytest_import_resource_state.pytest_move_resource_state.pytest_open_ephemeral_resource.pytest_plan_resource_change_basic.pytest_plan_resource_change_implementation.pytest_read_data_source.pytest_read_resource.pytest_renew_ephemeral_resource.pytest_stop_provider.pytest_structured_logging.py
- Applied to module docstring and
encrypt()/decrypt()method docstrings specify errata106 files
settings.local.json.gitignore.mutmut-config.pyMakefilecli.mdcommon.mdindex.mddata_sources.mdephemerals.mdexceptions.mdfunctions.mdhub.mdindex.mdobservability.mdindex.mdindex.mdresources.mdindex.mdtypes.mdREADME.mdbundling-components.mdcapability-composition.mdcapability-lifecycle.mdcapability-marketplace.mdcreating-capabilities.mdusing-capabilities.mdguidelines.mdinstallation.mdmkdocs.ymlcheck_doc_links.pyai2.shcomponents_commands.pyinstall_command.pylaunch_context_command.pymain.pyprovide_command.pyencryption.pyutils.pytest_cli_utils.pytest_context.pytest_launch_context_command.pytest_provide_command.pytest_pyvider_cli.pytest_availability.pytest_base_context.pytest_config.pytest_encryption_unit.pytest_launch_context.pytest_launch_context_extra.pyconftest.pytest_terraform_conversion.pytest_base_data_source.pytest_exceptions_hierarchy.pytest_diagnostics_api.pytest_private_state_encryption.pytest_schema_caching.pytest_base_function.pytest_base_function_complete.pytest_function_adapters_extraction.pytest_function_adapters_types.pytest_discovery.pytest_handler_metrics.pytest_cty_conversions.pytest_function_adapter.pytest_service.pytest_pyvider_provider.pytest_base_resource.pytest_base_resource_conversion.pytest_base_resource_lifecycle.pytest_protocol.pytest_resource_protocol.pytest_tdd_ephemeral_resource_lifecycle.pytest_tdd_private_state.pytest_tdd_private_state_in_read.pytest_tdd_private_state_lifecycle.pytest_tdd_resource_context_contract.pytest_factory_helpers.pytest_transforms.pytest_transformation_operations.pytest_tdd_capability_association.pytest_handler_core.pytest_handler_resources.pytest_version.pytest_dict_to_proto_function.pyconftest.pytest_apply_resource_change_advanced.pytest_apply_resource_change_core.pytest_call_function_advanced.pytest_call_function_core.pytest_close_ephemeral_resource.pytest_configure_provider.pytest_enhanced_error_messages.pytest_get_functions.pytest_get_metadata.pytest_get_provider_schema.pytest_handler_utils_diagnostics.pytest_import_resource_state.pytest_move_resource_state.pytest_open_ephemeral_resource.pytest_plan_resource_change_basic.pytest_plan_resource_change_implementation.pytest_read_data_source.pytest_read_resource.pytest_renew_ephemeral_resource.pytest_stop_provider.pytest_structured_logging.py
Widespread Type Annotation Improvements
60 files changed
encryption.pyUpdated encryption.py (+3/-3 lines)test_diagnostics_api.pyUpdated test_diagnostics_api.py (+4/-4 lines)test_private_state_encryption.pyUpdated test_private_state_encryption.py (+10/-7 lines)test_schema_caching.pyUpdated test_schema_caching.py (+4/-2 lines)test_base_function_complete.pyUpdated test_base_function_complete.py (+15/-13 lines)test_discovery.pyUpdated test_discovery.py (+26/-22 lines)test_handler_metrics.pyUpdated test_handler_metrics.py (+13/-10 lines)test_cty_conversions.pyUpdated test_cty_conversions.py (+20/-18 lines)test_service.pyUpdated test_service.py (+21/-21 lines)test_pyvider_provider.pyUpdated test_pyvider_provider.py (+1/-1 lines)test_protocol.pyUpdated test_protocol.py (+7/-5 lines)test_structured_logging.pyUpdated test_structured_logging.py (+104/-92 lines)test_cli_utils.pyUpdated test_cli_utils.py (+1/-1 lines)test_context.pyUpdated test_context.py (+3/-8 lines)test_provide_command.pyUpdated test_provide_command.py (+15/-13 lines)test_availability.pyUpdated test_availability.py (+5/-4 lines)test_config.pyUpdated test_config.py (+16/-21 lines)test_encryption_unit.pyUpdated test_encryption_unit.py (+30/-29 lines)test_launch_context.pyUpdated test_launch_context.py (+15/-11 lines)test_function_adapters_extraction.pyUpdated test_function_adapters_extraction.py (+6/-3 lines)test_function_adapters_types.pyUpdated test_function_adapters_types.py (+3/-3 lines)test_function_adapter.pyUpdated test_function_adapter.py (+1/-1 lines)test_base_resource.pyUpdated test_base_resource.py (+5/-4 lines)test_base_resource_conversion.pyUpdated test_base_resource_conversion.py (+8/-8 lines)test_base_resource_lifecycle.pyUpdated test_base_resource_lifecycle.py (+2/-2 lines)test_resource_protocol.pyUpdated test_resource_protocol.py (+8/-5 lines)test_tdd_ephemeral_resource_lifecycle.pyUpdated test_tdd_ephemeral_resource_lifecycle.py (+2/-2 lines)test_tdd_private_state.pyUpdated test_tdd_private_state.py (+6/-4 lines)test_tdd_private_state_in_read.pyUpdated test_tdd_private_state_in_read.py (+6/-4 lines)test_tdd_private_state_lifecycle.pyUpdated test_tdd_private_state_lifecycle.py (+2/-2 lines)test_tdd_resource_context_contract.pyUpdated test_tdd_resource_context_contract.py (+8/-4 lines)test_factory_helpers.pyUpdated test_factory_helpers.py (+8/-6 lines)test_transforms.pyUpdated test_transforms.py (+2/-2 lines)test_transformation_operations.pyUpdated test_transformation_operations.py (+2/-2 lines)test_tdd_capability_association.pyUpdated test_tdd_capability_association.py (+2/-2 lines)test_handler_core.pyUpdated test_handler_core.py (+91/-18 lines)test_handler_resources.pyUpdated test_handler_resources.py (+16/-16 lines)test_version.pyUpdated test_version.py (+3/-3 lines)test_dict_to_proto_function.pyUpdated test_dict_to_proto_function.py (+21/-17 lines)conftest.pyUpdated conftest.py (+2/-2 lines)test_apply_resource_change_advanced.pyUpdated test_apply_resource_change_advanced.py (+9/-51 lines)test_apply_resource_change_core.pyUpdated test_apply_resource_change_core.py (+17/-14 lines)test_call_function_advanced.pyUpdated test_call_function_advanced.py (+103/-135 lines)test_call_function_core.pyUpdated test_call_function_core.py (+62/-59 lines)test_close_ephemeral_resource.pyUpdated test_close_ephemeral_resource.py (+43/-21 lines)test_configure_provider.pyUpdated test_configure_provider.py (+37/-31 lines)test_enhanced_error_messages.pyUpdated test_enhanced_error_messages.py (+63/-57 lines)test_get_functions.pyUpdated test_get_functions.py (+81/-41 lines)test_get_metadata.pyUpdated test_get_metadata.py (+85/-57 lines)test_get_provider_schema.pyUpdated test_get_provider_schema.py (+91/-64 lines)test_handler_utils_diagnostics.pyUpdated test_handler_utils_diagnostics.py (+1/-1 lines)test_import_resource_state.pyUpdated test_import_resource_state.py (+16/-14 lines)test_move_resource_state.pyUpdated test_move_resource_state.py (+24/-22 lines)test_open_ephemeral_resource.pyUpdated test_open_ephemeral_resource.py (+112/-113 lines)test_plan_resource_change_basic.pyUpdated test_plan_resource_change_basic.py (+21/-11 lines)test_plan_resource_change_implementation.pyUpdated test_plan_resource_change_implementation.py (+17/-6 lines)test_read_data_source.pyUpdated test_read_data_source.py (+57/-39 lines)test_read_resource.pyUpdated test_read_resource.py (+40/-35 lines)test_renew_ephemeral_resource.pyUpdated test_renew_ephemeral_resource.py (+29/-13 lines)test_stop_provider.pyUpdated test_stop_provider.py (+42/-43 lines)
- Added type annotations to test fixtures, parameters, and return types across 35+ test files
qualify
behavioral
1 file
check_doc_links.py
- Modernized mock patterns: replaced nested
with patch(...):blocks with singlewith patch(...), patch(...):syntax qualify internal11 files
.mutmut-config.pyinstallation.mdtest_launch_context_command.pytest_pyvider_cli.pytest_base_context.pytest_launch_context_extra.pyconftest.pytest_terraform_conversion.pytest_base_data_source.pytest_exceptions_hierarchy.pytest_base_function.py
- Key test files updated:
test_diagnostics_api.py,test_private_state_encryption.py,test_schema_caching.py,test_base_function_complete.py,test_function_adapters_*.py,test_discovery.py,test_handler_metrics.py,test_cty_conversions.py,test_service.py,test_pyvider_provider.py,test_base_resource*.py,test_protocol.py, and many tfprotov6 handler test files qualify internal11 files
encryption.pytest_diagnostics_api.pytest_private_state_encryption.pytest_schema_caching.pytest_base_function_complete.pytest_discovery.pytest_handler_metrics.pytest_cty_conversions.pytest_service.pytest_pyvider_provider.pytest_protocol.py
- Updated
test_structured_logging.pywith significant restructuring decouple internal1 file
test_structured_logging.py