pyvider
2024-12-03
Added schema builder with fluent API and expanded logscribe logging
33 files · 2,355+ · 1,542-
Created schema builder and registry for programmatic construction
3 files changed
builder.pyProgrammatic schema construction with fluent API (135 lines)registry.pySchema registration and lookup (26 lines)wrapper.pyUpdated SchemaWrapper
- Created schema builder for programmatic schema construction with a fluent API
instantiate
behavioral
1 file
builder.py
- Added schema registry for schema registration and lookup
instantiate
internal
1 file
registry.py
Expanded logscribe with additional configuration options
2 files changed
core.pyAdditional logging configuration options (187+ lines)example_script.pyUpdated usage examples
- Expanded logscribe core with additional logging configuration options and updated usage examples
streamline
behavioral
2 files
core.pyexample_script.py
Created String type module with format validation
2 files changed
string.pyEnhanced String type handling with format validation and constraints (133+ lines)string.pyString utility functions (97 lines)
- Expanded String type with format validation and constraints, and added string utility module
instantiate
internal
2 files
string.pystring.py
Streamlined provider service and gRPC server
6 files changed
provider_service.pySimplified by removing redundant handler abstractions (897 lines changed, net reduction)grpc_server.pyImproved lifecycle management (149 lines changed)service_registry.pyUpdated service registryterraform_handshake.pyMore robust environment variable validation (113+ lines)core_decorators.pyImproved parameter checking (45 lines changed)validation.pyImproved validation (44+ lines)
- Simplified provider service by removing redundant handler abstractions and improved gRPC server lifecycle management
streamline
internal
2 files
provider_service.pygrpc_server.py
- Enhanced terraform handshake with more robust environment variable validation and improved decorator parameter checking
harden
internal
3 files
terraform_handshake.pycore_decorators.pyvalidation.py
Added String type tests and resource file content
5 files changed
test_tftypes_types_string.pyComprehensive String type test coverage (207 lines)test_decorators.pyUpdated decorator teststest_schema_wrapper.pyUpdated schema wrapper teststest_grpc_server.pyUpdated gRPC server testsresource_test_file_content.pyTest file content resource