pyvider
2024-12-29
Simplified tftypes collections with hub validators and schema attributes
39 files · 744+ · 3,052-
Simplified tftypes primitive and collection types
6 files changed
bool.pySimplified (12 lines removed)number.pySimplified (13 lines removed)string.pySimplified (20 lines removed)set.pySimplified with nested set validation using frozenset (210 lines changed)map.pyUpdated map collectionbase.pyUpdated base type (30 lines changed)
- Simplified primitive types (bool, number, string) by removing unnecessary complexity
streamline
internal
3 files
bool.pynumber.pystring.py
- Simplified set collection with proper nested set validation using frozenset and ValidationError for nested sets
streamline
internal
1 file
set.py
Created hub validators and schema attributes module
5 files changed
validators.pyComponent registration validation (39 lines)attributes.pyDeclarative schema attribute definitions (57 lines)base.pyUpdated schema base (42+ lines)discovery.pyUpdated discoverydecorators.pyUpdated decorators
- Created hub validators for component registration validation
instantiate
internal
1 file
validators.py
- Created declarative schema attributes module and updated schema base
instantiate
internal
2 files
attributes.pybase.py
Added collection map tests and Go framework comparison
3 files changed
test_tftypes_collections_map.pyCollection map teststest_tftypes_collections_set.pyUpdated set tests with frozenset validationgo-framework-dirs.mdGo and Python framework structure comparison (190 lines)
Removed old serialization and tuple test files
1 file changed
test_tftypes_types_tuple.pyRemoved old tuple tests (45 lines)