pyvider-cty 2025-03-31
Added `ctype` ClassVar string fields to all type classes for type
20 files · 490+ · 140-

Type Identification (`ctype` ClassVar)

2 files changed
  • dynamic.py Added `ctype: ClassVar[str] = "dynamic"` to `CtyDynamic`
  • object.py Added `ctype: ClassVar[str] = "object"` to `CtyObject`
  • Added ctype: ClassVar[str] = "dynamic" to CtyDynamic instantiate internal
    1 file
    • dynamic.py
  • Added ctype: ClassVar[str] = "object" to CtyObject instantiate internal
    1 file
    • object.py
  • Updated type references in map (12 lines), tuple (8 lines), object (8 lines) decouple internal
    2 files
    • dynamic.py
    • object.py
  • Added ClassVar import to dynamic type interface internal
    2 files
    • dynamic.py
    • object.py

CtyValue Base Enhancement

1 file changed
  • base.py `values/base.py`: 202 lines of changes improving value creation, comparison, and container support
  • values/base.py: 202 lines of changes improving value creation, comparison, and container support instantiate internal
    1 file
    • base.py

Serializer Updates

1 file changed
  • codec.py `msgpack_serializer.py`: 5 lines of changes
  • json_serializer.py: 4 lines of type reference updates decouple internal
    1 file
    • json_serializer.py
  • msgpack_serializer.py: 5 lines of changes decouple internal
    1 file
    • codec.py
  • serializer.py: 3 lines added to base serializer interface interface internal
    1 file
    • serializer.py

Path Module

1 file changed
  • base.py `path/base.py`: 18 lines of reference updates

Collection Type Updates

3 files changed
  • list.py `list.py`: 6 lines of changes
  • map.py `map.py`: 38 lines of improvements
  • set.py `set.py`: 6 lines of updates

Go-cty Compatibility

1 file changed
  • generator.py Added `go-cty-raw-structure.json`, `go-cty-type-structure.json`, `gostruct.json`, `pystruct.json`...
  • Added go-cty-raw-structure.json, go-cty-type-structure.json, gostruct.json, pystruct.json comparison fixtures instantiate internal
    1 file
    • generator.py
1 file changed
  • Dockerfile Minor Dockerfile update
  • Updated Dockerfile (1 line change) baseline internal
    1 file
    • Dockerfile
  • Minor test assertion fixes in map validation, values base, values containers qualify internal
    2 files
    • test_cty_map_validation.py
    • base.py