pyvider-cty
2025-03-15
Significant enhancement of collection types (List, Map
11 files · 1,015+ · 921-
Collection Type Improvements
3 files changed
list.py`CtyList`: Migrated from `@dataclass` to `@define(frozen=True, slots=True)` (attrs), expanded val...map.py`CtyMap`: Major expansion (324 lines of changes) with improved key/value validation and type chec...set.py`CtySet`: Expanded from ~84 to ~188 lines with enhanced validation logic
CtyList: Migrated from@dataclassto@define(frozen=True, slots=True)(attrs), expanded validation with better error messages, grew from ~95 to ~191 lines decouple internal1 file
list.py
CtyMap: Major expansion (324 lines of changes) with improved key/value validation and type checking decouple internal1 file
map.py
CtySet: Expanded from ~84 to ~188 lines with enhanced validation logic decouple internal1 file
set.py
- All collection types now use
pyvider.cty.loggerinstead ofpyvider.rpcplugin.loggerdecouple internal3 files
list.pymap.pyset.py
Test Updates
2 files changed
test_collections_set.pySee points for detailstest_cty_structural_dynamic.pySee points for details
Go-cty Documentation Tooling
3 files changed
test.yaml.tmplSee points for detailsmake-docs.pySee points for detailstest.shSee points for details
- Added
tests/dynamic/pile/godocs/make-docs.py: Script to generate documentation from Go sources qualify internal1 file
make-docs.py
- Added
tests/dynamic/pile/godocs/test.shandtest.yaml.tmplfor doc generation testing qualify internal2 files
test.shtest.yaml.tmpl
- Added example template for Go documentation generation
instantiate
internal
3 files
test.yaml.tmplmake-docs.pytest.sh
Documentation Cleanup
2 files changed
20250310-1824-pyvider-cty-documentation.mdSee points for details20250310-1826-pyvider-cty-documentation-02.mdSee points for details