pyvider-cty
2025-04-14
Improved type format parsing with better regex for nested collection types
16 files · 298+ · 68-
Format Parser Improvements
2 files changed
format.pyImproved regex for nested collection type parsing and added debug logging__init__.pyAdded classify_type to conversion exports
- Fixed regex pattern to handle nested parentheses in type format strings (e.g.,
list(object(...))) remediate errata1 file
format.py
- Added
classify_typefunction to conversion exports instantiate internal1 file
__init__.py
- Simplified format.py (60 lines of changes reducing complexity)
decouple
errata
1 file
format.py
- Added debug logging for collection parsing
instantiate
behavioral
1 file
format.py
Package Export Expansion
6 files changed
__init__.py`__init__.py`: 29 lines added exporting conversion functions__init__.py`types/__init__.py`: Added new type exports__init__.py`types/collections/__init__.py`, `types/primitives/__init__.py`, `types/structural/__init__.py`: ...__init__.py`types/collections/__init__.py`, `types/primitives/__init__.py`, `types/structural/__init__.py`: ...__init__.py`types/collections/__init__.py`, `types/primitives/__init__.py`, `types/structural/__init__.py`: ...__init__.py`values/__init__.py`: Added new value exports
__init__.py: 29 lines added exporting conversion functions instantiate internal1 file
__init__.py
types/__init__.py: Added new type exports instantiate internal1 file
__init__.py
types/collections/__init__.py,types/primitives/__init__.py,types/structural/__init__.py: Expanded exports decouple internal3 files
__init__.py__init__.py__init__.py
values/__init__.py: Added new value exports instantiate internal1 file
__init__.py
New Test Suite
1 file changed
test_cty_type_conversion.pySee points for details
Cleanup
1 file changed
__init__.pySimplified `src/pyvider/__init__.py`