pyvider
2025-11-03
Added interactive mode display for CLI, fixed install command output, improved diagnostic error...
411 files · 19,979+ · 6,375-
Interactive Mode Welcome Screen
218 files changed
main.pyUpdated main.py (+49/-16 lines)settings.local.jsonAdded settings.local.json (+21 lines)settings.local.jsonAdded settings.local.json (+82 lines).gitattributesAdded .gitattributes (+18 lines).gitguardian.yamlAdded .gitguardian.yaml (+12 lines)ci.ymlAdded ci.yml (+61 lines)docs-check.ymlAdded docs-check.yml (+96 lines)release.ymlAdded release.yml (+137 lines).gitignoreUpdated .gitignore (+33/-2 lines).gitleaks.tomlAdded .gitleaks.toml (+16 lines).markdownlint.jsonAdded .markdownlint.json (+10 lines).mutmut-config.pyAdded .mutmut-config.py (+33 lines).pre-commit-config.yamlAdded .pre-commit-config.yaml (+33 lines)coverage.xmlAdded coverage.xml (+5051 lines).trufflehog-exclude-paths.txtAdded .trufflehog-exclude-paths.txt (+8 lines)CHANGELOG.mdAdded CHANGELOG.md (+14 lines)CLAUDE.mdAdded CLAUDE.md (+88 lines)CONTRIBUTING.mdAdded CONTRIBUTING.md (+203 lines)README.mdUpdated README.md (+52/-42 lines)VERSIONUpdated VERSION (+1/-1 lines)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.mdUpdated index.md (+3/-14 lines)observability.mdUpdated observability.md (+2/-32 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)overview.mdUpdated overview.md (+13/-26 lines)guidelines.mdUpdated guidelines.md (+5/-12 lines)extra.cssUpdated extra.css (+0/-0 lines)provide-theme.cssAdded provide-theme.css (+427 lines)termynal.cssAdded termynal.css (+127 lines)DEVELOPMENT.mdAdded DEVELOPMENT.md (+488 lines)roadmap.mdRemoved content from roadmap.md (-233 lines)architecture.mdUpdated architecture.md (+3/-1 lines)component-model.mdUpdated component-model.md (+1/-1 lines)design-philosophy.mdAdded design-philosophy.md (+219 lines)resources-vs-data-sources.mdRemoved content from resources-vs-data-sources.md (-3 lines)faq.mdUpdated faq.md (+5/-5 lines)index.mdAdded index.md (+145 lines)installation.mdUpdated installation.md (+28/-32 lines)quick-start.mdUpdated quick-start.md (+3/-3 lines)what-is-pyvider.mdUpdated what-is-pyvider.md (+7/-9 lines)advanced-provider-features.mdUpdated advanced-provider-features.md (+3/-2 lines)creating-data-sources.mdRemoved content from creating-data-sources.md (-4 lines)creating-functions.mdRemoved content from creating-functions.md (-4 lines)creating-providers.mdUpdated creating-providers.md (+2/-5 lines)creating-resources.mdRemoved content from creating-resources.md (-4 lines)using-decorators.mdUpdated using-decorators.md (+4/-8 lines)debugging.mdUpdated debugging.md (+3/-2 lines)best-practices.mdUpdated best-practices.md (+2/-6 lines)performance-optimization.mdUpdated performance-optimization.md (+1/-5 lines)production-readiness.mdUpdated production-readiness.md (+3/-7 lines)security-best-practices.mdUpdated security-best-practices.md (+2/-6 lines)create-data-source.mdRemoved content from create-data-source.md (-3 lines)handle-pagination.mdRemoved content from handle-pagination.md (-3 lines)add-validation.mdRemoved content from add-validation.md (-3 lines)create-resource.mdRemoved content from create-resource.md (-3 lines)index.mdUpdated index.md (+61/-209 lines)custom.jsAdded custom.js (+121 lines)mermaid-init.jsAdded mermaid-init.js (+16 lines)termynal.jsAdded termynal.js (+264 lines)data-source-api.mdRemoved content from data-source-api.md (-3 lines)resource-lifecycle.mdRemoved content from resource-lifecycle.md (-3 lines)best-practices.mdUpdated best-practices.md (+1/-1 lines)schema-by-example.mdUpdated schema-by-example.md (+1/-1 lines)api_data_source.pyAdded api_data_source.py (+92 lines)file_info_complete.pyAdded file_info_complete.py (+103 lines)file_info_minimal.pyAdded file_info_minimal.py (+64 lines)async_concurrent.pyAdded async_concurrent.py (+252 lines)error_handling.pyAdded error_handling.py (+199 lines)pagination.pyAdded pagination.py (+252 lines)api_resource.pyAdded api_resource.py (+132 lines)file_complete.pyAdded file_complete.py (+172 lines)file_minimal.pyAdded file_minimal.py (+99 lines)basic_types.pyAdded basic_types.py (+99 lines)collections.pyAdded collections.py (+115 lines)validators.pyAdded validators.py (+158 lines)troubleshooting.mdUpdated troubleshooting.md (+3/-3 lines)building-your-first-data-source.mdRemoved content from building-your-first-data-source.md (-4 lines)building-your-first-resource.mdUpdated building-your-first-resource.md (+11/-240 lines)intermediate-provider.mdUpdated intermediate-provider.md (+1/-1 lines)README.mdAdded README.md (+229 lines)settings.local.jsonAdded settings.local.json (+17 lines)README.mdAdded README.md (+219 lines)VERSIONAdded VERSION (+1 lines)pyproject.tomlAdded pyproject.toml (+25 lines)pyvider.tomlAdded pyvider.toml (+14 lines)__init__.pyAdded __init__.py (+45 lines)data_sources.pyAdded data_sources.py (+237 lines)functions.pyAdded functions.py (+197 lines)resources.pyAdded resources.py (+412 lines)terraform-provider-demoAdded terraform-provider-demo (+26 lines)main.tfAdded main.tf (+37 lines)uv.lockAdded uv.lock (+456 lines)mkdocs.ymlUpdated mkdocs.yml (+13/-12 lines)pyproject.tomlUpdated pyproject.toml (+89/-17 lines)add_spdx_headers.pyAdded add_spdx_headers.py (+203 lines)build_provider.pyUpdated build_provider.py (+1/-1 lines)check_doc_links.pyUpdated check_doc_links.py (+59/-42 lines)install-opentofu-wrapper.shRemoved content from install-opentofu-wrapper.sh (-38 lines)install-opentofu.shRemoved content from install-opentofu.sh (-1358 lines)install-uv.shRemoved content from install-uv.sh (-3 lines)__init__.pyUpdated __init__.py (+0/-0 lines)memray_analysis.pyAdded memray_analysis.py (+157 lines)memray_conversion_stress.pyAdded memray_conversion_stress.py (+69 lines)memray_hub_stress.pyAdded memray_hub_stress.py (+56 lines)memray_schema_stress.pyAdded memray_schema_stress.py (+65 lines)01_install_common_deps.shRemoved content from 01_install_common_deps.sh (-22 lines)02_install_uv.shRemoved content from 02_install_uv.sh (-7 lines)03_install_terraform.shRemoved content from 03_install_terraform.sh (-13 lines)04_install_tofu.shRemoved content from 04_install_tofu.sh (-11 lines)01_install_homebrew.shRemoved content from 01_install_homebrew.sh (-9 lines)02_install_deps.shRemoved content from 02_install_deps.sh (-4 lines)03_install_uv.shRemoved content from 03_install_uv.sh (-6 lines)04_install_terraform.shRemoved content from 04_install_terraform.sh (-8 lines)05_install_tofu.shRemoved content from 05_install_tofu.sh (-7 lines)runtime-hook.pyRemoved content from runtime-hook.py (-30 lines)terraform-provider-pyviderRemoved content from terraform-provider-pyvider (-23 lines)validate_spdx_headers.pyAdded validate_spdx_headers.py (+101 lines)__init__.pyUpdated __init__.py (+3/-2 lines)__init__.pyRemoved content from __init__.py (-1 lines)base.pyRemoved content from base.py (-2 lines)decorators.pyUpdated decorators.py (+2/-3 lines)__init__.pyUpdated __init__.py (+2/-8 lines)__main__.pyUpdated __main__.py (+26/-4 lines)components_commands.pyUpdated components_commands.py (+15/-13 lines)config_commands.pyUpdated config_commands.py (+1/-3 lines)launch_context_command.pyUpdated launch_context_command.py (+42/-41 lines)provide_command.pyUpdated provide_command.py (+231/-156 lines)__init__.pyRemoved content from __init__.py (-1 lines)config.pyUpdated config.py (+5/-11 lines)encryption.pyUpdated encryption.py (+3/-8 lines)launch_context.pyUpdated launch_context.py (+50/-44 lines)__init__.pyRemoved content from __init__.py (-1 lines)attrs_factory.pyRemoved content from attrs_factory.py (-1 lines)availability.pyUpdated availability.py (+1/-1 lines)marshaler.pyUpdated marshaler.py (+18/-9 lines)schema_adapter.pyUpdated schema_adapter.py (+37/-7 lines)__init__.pyRemoved content from __init__.py (-1 lines)base.pyRemoved content from base.py (-1 lines)decorators.pyUpdated decorators.py (+6/-6 lines)base.pyUpdated base.py (+2/-2 lines)decorators.pyUpdated decorators.py (+1/-2 lines)base.pyRemoved content from base.py (-3 lines)foundation.pyRemoved content from foundation.py (-4 lines)function.pyRemoved content from function.py (-1 lines)grpc.pyRemoved content from grpc.py (-1 lines)registry.pyRemoved content from registry.py (-1 lines)schema.pyRemoved content from schema.py (-1 lines)serialization.pyRemoved content from serialization.py (-1 lines)validation.pyRemoved content from validation.py (-1 lines)adapters.pyUpdated adapters.py (+10/-9 lines)base.pyUpdated base.py (+4/-4 lines)decorators.pyUpdated decorators.py (+5/-6 lines)handler.pyUpdated handler.py (+64/-6 lines)components.pyUpdated components.py (+101/-13 lines)discovery.pyUpdated discovery.py (+42/-8 lines)validators.pyUpdated validators.py (+4/-3 lines)__init__.pyRemoved content from __init__.py (-1 lines)service.pyUpdated service.py (+5/-6 lines)__init__.pyRemoved content from __init__.py (-1 lines)function_adapter.pyUpdated function_adapter.py (+1/-2 lines)__init__.pyRemoved content from __init__.py (-1 lines)apply_resource_change.pyUpdated apply_resource_change.py (+3/-4 lines)call_function.pyUpdated call_function.py (+57/-42 lines)close_ephemeral_resource.pyUpdated close_ephemeral_resource.py (+2/-3 lines)configure_provider.pyUpdated configure_provider.py (+1/-2 lines)get_provider_schema.pyUpdated get_provider_schema.py (+68/-44 lines)import_resource_state.pyRemoved content from import_resource_state.py (-1 lines)move_resource_state.pyRemoved content from move_resource_state.py (-1 lines)open_ephemeral_resource.pyUpdated open_ephemeral_resource.py (+2/-3 lines)plan_resource_change.pyUpdated plan_resource_change.py (+4/-5 lines)upgrade_resource_state.pyRemoved content from upgrade_resource_state.py (-1 lines)validate_data_resource_config.pyRemoved content from validate_data_resource_config.py (-1 lines)validate_ephemeral_resource_config.pyRemoved content from validate_ephemeral_resource_config.py (-1 lines)validate_provider_config.pyUpdated validate_provider_config.py (+1/-2 lines)validate_resource_config.pyRemoved content from validate_resource_config.py (-1 lines)__init__.pyUpdated __init__.py (+1/-4 lines)__init__.pyRemoved content from __init__.py (-1 lines)base.pyUpdated base.py (+12/-2 lines)config.pyRemoved content from config.py (-1 lines)decorators.pyUpdated decorators.py (+3/-4 lines)py.typedUpdated py.typed (+0/-0 lines)__init__.pyRemoved content from __init__.py (-1 lines)base.pyUpdated base.py (+9/-2 lines)decorators.pyUpdated decorators.py (+1/-2 lines)exceptions.pyRemoved content from exceptions.py (-1 lines)lifecycle.pyRemoved content from lifecycle.py (-1 lines)private_state.pyRemoved content from private_state.py (-3 lines)protocol.pyUpdated protocol.py (+1/-2 lines)__init__.pyUpdated __init__.py (+2/-1 lines)exceptions.pyRemoved content from exceptions.py (-12 lines)factory.pyUpdated factory.py (+45/-1 lines)transforms.pyRemoved content from transforms.py (-1 lines)__init__.pyRemoved content from __init__.py (-1 lines)attribute.pyRemoved content from attribute.py (-1 lines)blocks.pyRemoved content from blocks.py (-1 lines)enums.pyUpdated enums.py (+3/-4 lines)object.pyRemoved content from object.py (-1 lines)schema.pyRemoved content from schema.py (-1 lines)uv.lockUpdated uv.lock (+1768/-981 lines)wrknv.tomlAdded wrknv.toml (+103 lines)
- Added
_show_interactive_mode()function incli/main.pythat displays a styled welcome message with launch context details instantiate behavioral1 file
main.py
- When pyvider is run without Terraform (no magic cookie), shows interactive mode box with launch method, executable path, Python executable, working directory, and help command suggestions
baseline
behavioral
1 file
main.py
- Replaces previous behavior of just showing help text
decouple
behavioral
1 file
main.py
Install Command Fix
1 file changed
install_command.pyUpdated install_command.py (+110/-104 lines)
- Fixed broken
click.secho()call ininstall_command.pythat was missing its message string (only hadfg="green", bold=Truekwargs), replaced with properpout()call with success message remediate behavioral1 file
install_command.py
Improved Diagnostic Error Messages
3 files changed
utils.pyUpdated utils.py (+9/-10 lines)utils.pyUpdated utils.py (+38/-27 lines)utils.pyRemoved content from utils.py (-1 lines)
- Enhanced
create_diagnostic_from_exception()inhandlers/utils.pyto useexc.messageattribute for summary in validation errors andCtyValidationErrorcases decouple behavioral3 files
utils.pyutils.pyutils.py
- Added explicit
"Internal Provider Error"summary for unexpected exceptions instead of using generic default instantiate behavioral1 file
test_enhanced_error_messages.py
Type Annotations and Mock Improvements
189 files changed
provider.pyAdded provider.py (+53 lines)context.pyUpdated context.py (+115/-5 lines)context.pyRemoved content from context.py (-1 lines)context.pyRemoved content from context.py (-1 lines)provider.pyRemoved content from provider.py (-3 lines)resource.pyRemoved content from resource.py (-9 lines)get_metadata.pyRemoved content from get_metadata.py (-1 lines)read_data_source.pyUpdated read_data_source.py (+1/-2 lines)read_resource.pyUpdated read_resource.py (+3/-4 lines)renew_ephemeral_resource.pyUpdated renew_ephemeral_resource.py (+2/-3 lines)stop_provider.pyUpdated stop_provider.py (+10/-3 lines)context.pyRemoved content from context.py (-1 lines)provider.pyUpdated provider.py (+15/-5 lines)context.pyUpdated context.py (+6/-7 lines)test_cli_utils.pyUpdated test_cli_utils.py (+7/-4 lines)test_context.pyUpdated test_context.py (+46/-11 lines)test_get_metadata.pyUpdated test_get_metadata.py (+85/-57 lines)test_read_data_source.pyUpdated test_read_data_source.py (+57/-43 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 (+62/-61 lines)__init__.pyAdded __init__.py (+1 lines)test_provider.pyAdded test_provider.py (+214 lines)__init__.pyRemoved content from __init__.py (-1 lines)fixtures.pyUpdated fixtures.py (+7/-1 lines)__init__.pyRemoved content from __init__.py (-1 lines)test_decorators.pyUpdated test_decorators.py (+4/-4 lines)test_components_commands.pyAdded test_components_commands.py (+182 lines)test_install_binary_mode.pyAdded test_install_binary_mode.py (+120 lines)test_install_command.pyAdded test_install_command.py (+3 lines)test_install_custom_names.pyAdded test_install_custom_names.py (+74 lines)test_install_dev_mode.pyAdded test_install_dev_mode.py (+85 lines)test_install_uninstall.pyAdded test_install_uninstall.py (+133 lines)test_install_utils.pyUpdated test_install_utils.py (+25/-28 lines)test_install_validation.pyAdded test_install_validation.py (+127 lines)test_launch_context_command.pyUpdated test_launch_context_command.py (+29/-23 lines)test_provide_command.pyUpdated test_provide_command.py (+67/-71 lines)test_pyvider_cli.pyUpdated test_pyvider_cli.py (+2/-2 lines)test_availability.pyUpdated test_availability.py (+7/-6 lines)test_base_context.pyUpdated test_base_context.py (+1/-1 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 (+22/-14 lines)test_launch_context_extra.pyUpdated test_launch_context_extra.py (+9/-6 lines)conftest.pyUpdated conftest.py (+50/-24 lines)test_tdd_marshaler_contracts.pyRemoved content from test_tdd_marshaler_contracts.py (-1 lines)test_terraform_conversion.pyUpdated test_terraform_conversion.py (+1/-2 lines)__init__.pyRemoved content from __init__.py (-1 lines)test_base_data_source.pyUpdated test_base_data_source.py (+8/-6 lines)test_snippets.pyAdded test_snippets.py (+135 lines)test_foundation_exceptions.pyRemoved content from test_foundation_exceptions.py (-1 lines)__init__.pyRemoved content from __init__.py (-1 lines)proto_fixtures.pyUpdated proto_fixtures.py (+1/-2 lines)__init__.pyRemoved content from __init__.py (-1 lines)__init__.pyRemoved content from __init__.py (-1 lines)__init__.pyRemoved content from __init__.py (-1 lines)__init__.pyRemoved content from __init__.py (-1 lines)__init__.pyRemoved content from __init__.py (-1 lines)__init__.pyRemoved content from __init__.py (-1 lines)__init__.pyRemoved content from __init__.py (-1 lines)test_cty_to_native_conversion.pyRemoved content from test_cty_to_native_conversion.py (-1 lines)test_cty_validation_recursion.pyRemoved content from test_cty_validation_recursion.py (-1 lines)test_diagnostics_api.pyUpdated test_diagnostics_api.py (+4/-5 lines)test_function_argument_conversion.pyRemoved content from test_function_argument_conversion.py (-1 lines)test_observability_contracts.pyUpdated test_observability_contracts.py (+2/-2 lines)test_private_state_encryption.pyUpdated test_private_state_encryption.py (+12/-10 lines)test_schema_caching.pyUpdated test_schema_caching.py (+4/-2 lines)test_validation_contract.pyRemoved content from test_validation_contract.py (-1 lines)__init__.pyRemoved content from __init__.py (-1 lines)__init__.pyRemoved content from __init__.py (-1 lines)__init__.pyRemoved content from __init__.py (-1 lines)test_base_function.pyUpdated test_base_function.py (+3/-2 lines)test_base_function_complete.pyUpdated test_base_function_complete.py (+15/-13 lines)test_function_adapter.pyRemoved content from test_function_adapter.py (-1 lines)test_function_adapters_extraction.pyUpdated test_function_adapters_extraction.py (+6/-6 lines)test_function_adapters_types.pyUpdated test_function_adapters_types.py (+3/-3 lines)test_function_registration.pyRemoved content from test_function_registration.py (-1 lines)test_tdd_function_dispatch.pyUpdated test_tdd_function_dispatch.py (+1/-2 lines)test_discovery.pyUpdated test_discovery.py (+28/-24 lines)test_validators.pyUpdated test_validators.py (+1/-1 lines)__init__.pyRemoved content from __init__.py (-1 lines)test_s_function_provider.pyAdded test_s_function_provider.py (+217 lines)__init__.pyUpdated __init__.py (+0/-0 lines)baselines.jsonAdded baselines.json (+5 lines)conftest.pyAdded conftest.py (+8 lines)test_conversion_memory.pyAdded test_conversion_memory.py (+16 lines)test_hub_memory.pyAdded test_hub_memory.py (+16 lines)test_schema_memory.pyAdded test_schema_memory.py (+16 lines)__init__.pyRemoved content from __init__.py (-1 lines)__init__.pyRemoved content from __init__.py (-1 lines)mock_data_source.pyRemoved content from mock_data_source.py (-1 lines)__init__.pyRemoved content from __init__.py (-1 lines)mock_function.pyRemoved content from mock_function.py (-1 lines)mock_type.pyRemoved content from mock_type.py (-1 lines)__init__.pyRemoved content from __init__.py (-1 lines)mock_resource_file.pyRemoved content from mock_resource_file.py (-1 lines)conftest.pyUpdated conftest.py (+2/-1 lines)test_upgrade_handler.pyUpdated test_upgrade_handler.py (+2/-2 lines)test_handler_metrics.pyUpdated test_handler_metrics.py (+13/-11 lines)__init__.pyRemoved content from __init__.py (-1 lines)test_cty_conversions.pyUpdated test_cty_conversions.py (+21/-19 lines)test_exceptions_hierarchy.pyUpdated test_exceptions_hierarchy.py (+0/-0 lines)test_function_adapter.pyUpdated test_function_adapter.py (+1/-2 lines)test_schema_validation.pyUpdated test_schema_validation.py (+2/-1 lines)test_service.pyUpdated test_service.py (+21/-22 lines)test_pyvider_provider.pyUpdated test_pyvider_provider.py (+3/-2 lines)__init__.pyRemoved content from __init__.py (-1 lines)test_base_resource.pyUpdated test_base_resource.py (+5/-5 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_exceptions.pyRemoved content from test_exceptions.py (-1 lines)test_lifecycle.pyRemoved content from test_lifecycle.py (-1 lines)test_protocol.pyUpdated test_protocol.py (+7/-5 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/-4 lines)test_tdd_private_state.pyUpdated test_tdd_private_state.py (+6/-5 lines)test_tdd_private_state_in_read.pyUpdated test_tdd_private_state_in_read.py (+6/-5 lines)test_tdd_private_state_lifecycle.pyUpdated test_tdd_private_state_lifecycle.py (+2/-3 lines)test_tdd_resource_context_contract.pyUpdated test_tdd_resource_context_contract.py (+8/-5 lines)__init__.pyRemoved content from __init__.py (-1 lines)test_conversion_proto.pyRemoved content from test_conversion_proto.py (-1 lines)test_factory_attributes.pyRemoved content from test_factory_attributes.py (-1 lines)test_factory_function.pyAdded test_factory_function.py (+351 lines)test_resources.pyRemoved content from test_resources.py (-1 lines)test_lifecycle_operations.pyRemoved content from test_lifecycle_operations.py (-1 lines)test_lifecycle_terraform.pyRemoved content from test_lifecycle_terraform.py (-1 lines)test_schema_architecture.pyRemoved content from test_schema_architecture.py (-1 lines)test_schema_edge_cases.pyRemoved content from test_schema_edge_cases.py (-1 lines)test_tdd_schema_contracts.pyRemoved content from test_tdd_schema_contracts.py (-1 lines)test_exceptions.pyRemoved content from test_exceptions.py (-1 lines)test_factory_helpers.pyUpdated test_factory_helpers.py (+8/-7 lines)test_transforms.pyUpdated test_transforms.py (+2/-2 lines)test_transformation_operations.pyUpdated test_transformation_operations.py (+2/-3 lines)test_pvs_object_type.pyRemoved content from test_pvs_object_type.py (-1 lines)test_tdd_capability_association.pyUpdated test_tdd_capability_association.py (+2/-3 lines)test_discovery_resilience.pyAdded test_discovery_resilience.py (+117 lines)test_explicit_registration.pyAdded test_explicit_registration.py (+145 lines)test_handler_core.pyUpdated test_handler_core.py (+91/-19 lines)test_handler_resources.pyUpdated test_handler_resources.py (+16/-16 lines)__init__.pyRemoved content from __init__.py (-1 lines)test_init.pyRemoved content from test_init.py (-7 lines)test_testmode.pyAdded test_testmode.py (+98 lines)test_version.pyRemoved content from test_version.py (-1 lines)test_dict_to_proto_function.pyUpdated test_dict_to_proto_function.py (+21/-17 lines)conftest.pyUpdated conftest.py (+2/-3 lines)conftest.pyAdded conftest.py (+49 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 (+114/-146 lines)test_call_function_core.pyUpdated test_call_function_core.py (+65/-62 lines)test_close_ephemeral_resource.pyUpdated test_close_ephemeral_resource.py (+43/-21 lines)test_configure_provider.pyUpdated test_configure_provider.py (+43/-33 lines)test_diagnostic_creation.pyRemoved content from test_diagnostic_creation.py (-1 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_provider_schema.pyUpdated test_get_provider_schema.py (+7/-1 lines)test_get_provider_schema_caching.pyAdded test_get_provider_schema_caching.py (+128 lines)test_get_provider_schema_collection.pyAdded test_get_provider_schema_collection.py (+157 lines)test_get_provider_schema_computation.pyAdded test_get_provider_schema_computation.py (+77 lines)test_get_provider_schema_handler.pyAdded test_get_provider_schema_handler.py (+48 lines)test_get_provider_schema_observability.pyAdded test_get_provider_schema_observability.py (+141 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_structured_logging.pyUpdated test_structured_logging.py (+104/-92 lines)test_tdd_deep_diagnostics.pyRemoved content from test_tdd_deep_diagnostics.py (-1 lines)test_tdd_diagnostics.pyRemoved content from test_tdd_diagnostics.py (-1 lines)test_call_function_integration.pyRemoved content from test_call_function_integration.py (-1 lines)test_framework_integration.pyRemoved content from test_framework_integration.py (-1 lines)test_handler_diagnostics.pyRemoved content from test_handler_diagnostics.py (-1 lines)test_read_data_source_integration.pyRemoved content from test_read_data_source_integration.py (-1 lines)test_unmarshal_recursion.pyRemoved content from test_unmarshal_recursion.py (-1 lines)__init__.pyRemoved content from __init__.py (-1 lines)__init__.pyRemoved content from __init__.py (-1 lines)test_schema_validators.pyRemoved content from test_schema_validators.py (-1 lines)__init__.pyRemoved content from __init__.py (-1 lines)__init__.pyRemoved content from __init__.py (-1 lines)__init__.pyRemoved content from __init__.py (-1 lines)__init__.pyRemoved content from __init__.py (-1 lines)__init__.pyRemoved content from __init__.py (-1 lines)dummy_types.pyRemoved content from dummy_types.py (-1 lines)__init__.pyRemoved content from __init__.py (-1 lines)plugin_validators.pyRemoved content from plugin_validators.py (-1 lines)proto_validators.pyRemoved content from proto_validators.py (-1 lines)schema_validators.pyRemoved content from schema_validators.py (-1 lines)__init__.pyRemoved content from __init__.py (-1 lines)
- Added type annotations to test fixtures and parameters across
test_get_metadata.py,test_read_data_source.py,test_read_resource.py,test_renew_ephemeral_resource.py,test_stop_provider.pyqualify internal14 files
provider.pyprovider.pyresource.pyget_metadata.pyread_data_source.pyread_resource.pyrenew_ephemeral_resource.pystop_provider.pyprovider.pytest_get_metadata.pytest_read_data_source.pytest_read_resource.pytest_renew_ephemeral_resource.pytest_stop_provider.py
- Fixed
test_read_data_source.pycapability injection test to use proper mock capability class (type("MockCapability", (), {})instead ofMagicMock) with correctget_componentside effect routing qualify internal2 files
read_data_source.pytest_read_data_source.py
- Added
ResourceContextimport and proper return type annotations toSampleReadResourceintest_read_resource.pyspecify behavioral3 files
resource.pyread_resource.pytest_read_resource.py
- Updated
test_context.pyto mock_read_version_from_fileinstead ofPyviderConfigqualify internal6 files
context.pycontext.pycontext.pycontext.pycontext.pytest_context.py
- Updated
test_cli_utils.pyto expectexec pyvider "$@"(withoutprovide) decouple internal1 file
test_cli_utils.py
Deleted Generated Shell Script
1 file changed
ai2.shUpdated ai2.sh