pyvider
2025-01-04
Simplified tftypes base class significantly
85 files · 1,758+ · 2,694-
tftypes Simplification
79 files changed
__init__.pyUpdated __init__.py (+13/-17 lines)base.pyUpdated base.py (+16/-165 lines)list.pyUpdated list.py (+2/-54 lines)map.pyUpdated map.py (+49/-45 lines)set.pyRemoved set.py (-10 lines)immutability.pyRemoved immutability.py (-49 lines)bool.pyRemoved bool.py (-12 lines)number.pyRemoved number.py (-13 lines)string.pyRemoved string.py (-20 lines)__init__.pyUpdated __init__.py (+3/-1 lines)dynamic.pyAdded dynamic.py (+67 lines)object.pyUpdated object.py (+4/-62 lines)tuple.pyRemoved tuple.py (-12 lines)tftypes_test.pyRemoved tftypes_test.py (-60 lines)type.pyUpdated type.py (+1/-5 lines)test_tftypes_collections_map.pyRemoved test_tftypes_collections_map.py (-20 lines)test_tftypes_collections_set.pyRemoved test_tftypes_collections_set.py (-16 lines)file_content.pyRemoved file_content.py (-1 lines)chatgpt-code-review-2025-01-05-1110.mdAdded chatgpt-code-review-2025-01-05-1110.md (+198 lines)docs-outline-01-2025-01-03.mdAdded docs-outline-01-2025-01-03.md (+207 lines)1-1-1-what-is-pyvider.mdAdded 1-1-1-what-is-pyvider.md (+29 lines)1-1-2-key-features.mdAdded 1-1-2-key-features.md (+76 lines)1-1-3-why-pyvider.mdAdded 1-1-3-why-pyvider.md (+82 lines)1-1-4-goals.mdAdded 1-1-4-goals.md (+88 lines)1-1-overview.mdAdded 1-1-overview.md (+20 lines)summary.mdAdded summary.md (+207 lines)notes.mdAdded notes.md (+30 lines)priming-prompt-2024-12-02.mdUpdated priming-prompt-2024-12-02.md (+1/-1 lines)working-through-ttypes.mdUpdated working-through-ttypes.md (+0/-0 lines)tfdynamic.mdAdded tfdynamic.md (+57 lines)tftypes.mdAdded tftypes.md (+5 lines)capabilities.mdAdded capabilities.md (+3 lines)index01.mdRemoved index01.md (-115 lines)requirements.txtUpdated requirements.txt (+16/-2 lines)diagram.pyRemoved diagram.py (-50 lines)__init__.pyRemoved __init__.py (-28 lines)__init__.pyUpdated __init__.py (+0/-0 lines)config.pyRemoved config.py (-159 lines)defaults.yamlRemoved defaults.yaml (-19 lines)loader.pyUpdated loader.py (+0/-0 lines)constants.pyRemoved constants.py (-150 lines)__init__.pyUpdated __init__.py (+0/-0 lines)log_levels.pyUpdated log_levels.py (+0/-0 lines)core.pyRemoved core.py (-351 lines)__init__.pyRemoved __init__.py (-4 lines)detailed_formatter.pyRemoved detailed_formatter.py (-14 lines)json_formatter.pyRemoved json_formatter.py (-19 lines)rich_formatter.pyRemoved rich_formatter.py (-44 lines)simple_formatter.pyRemoved simple_formatter.py (-18 lines)__init__.pyUpdated __init__.py (+0/-0 lines)async_handler.pyUpdated async_handler.py (+0/-0 lines)otlp_handler.pyRemoved otlp_handler.py (-100 lines)stream_handler.pyUpdated stream_handler.py (+0/-0 lines)__init__.pyRemoved __init__.py (-6 lines)config.pyRemoved config.py (-22 lines)proxy.pyRemoved proxy.py (-35 lines)__init__.pyRemoved __init__.py (-1 lines)logger_manager.pyRemoved logger_manager.py (-20 lines)__init__.pyUpdated __init__.py (+0/-0 lines)richlogger.pyUpdated richlogger.py (+0/-0 lines)theme.pyUpdated theme.py (+0/-0 lines)__init__.pyUpdated __init__.py (+0/-0 lines)mock_tracing.pyRemoved mock_tracing.py (-200 lines)test_filters.pyUpdated test_filters.py (+0/-0 lines)test_formatters.pyUpdated test_formatters.py (+0/-0 lines)test_handlers.pyUpdated test_handlers.py (+0/-0 lines)test_logscribe.pyRemoved test_logscribe.py (-91 lines)test_richlogger.pyUpdated test_richlogger.py (+0/-0 lines)test_simple_formatter.pyRemoved test_simple_formatter.py (-57 lines)xtest_otel_comprehensive.pyRemoved xtest_otel_comprehensive.py (-260 lines)xtest_otlp_handler.pyRemoved xtest_otlp_handler.py (-75 lines)tracer-client.pyRemoved tracer-client.py (-46 lines)tracer.pyRemoved tracer.py (-184 lines)__init__.pyUpdated __init__.py (+1/-3 lines)injector.pyUpdated injector.py (+3/-4 lines)__init__.pyUpdated __init__.py (+1/-1 lines)shutdown.pyUpdated shutdown.py (+1/-1 lines)test_discovery.pyUpdated test_discovery.py (+2/-2 lines)test_schema_attribute_path.pyUpdated test_schema_attribute_path.py (+1/-4 lines)
- Simplified
src/pyvider/tftypes/base.py(181 lines reduced) removing redundant methods decouple internal1 file
base.py
- Removed
src/pyvider/tftypes/immutability.py(49 lines) decouple internal1 file
immutability.py
- Simplified
src/pyvider/tftypes/primitives/- removed unused code from bool.py, number.py, string.py deprecate internal3 files
bool.pynumber.pystring.py
- Simplified
src/pyvider/tftypes/collections/list.py(56 lines changed) andmap.py(94 lines changed),set.py(10 lines removed) decouple internal5 files
list.pymap.pyset.pytest_tftypes_collections_map.pytest_tftypes_collections_set.py
Dynamic Pseudo-Type
1 file changed
dynamic.pyUpdated dynamic.py
Attribute Path Relocation
1 file changed
attribute_path.pyUpdated attribute_path.py (+2/-2 lines)
Test: Structural Object
5 files changed
test_tftypes_collections_list.pyAdded test_tftypes_collections_list.py (+85 lines)test_tftypes_structural_object.pyAdded test_tftypes_structural_object.py (+488 lines)test_tftypes_structural_tuple.pyRemoved test_tftypes_structural_tuple.py (-3 lines)test_tftypes_type.pyRemoved test_tftypes_type.py (-31 lines)test_tftypes_types_simple.pyRemoved test_tftypes_types_simple.py (-10 lines)
- Added
tests/unit/tftypes/test_tftypes_structural_object.py(125-229 lines through iterations) with comprehensive object type tests qualify internal1 file
test_tftypes_structural_object.py
- Updated
tests/unit/tftypes/test_tftypes_collections_list.py(65 lines changed) qualify internal1 file
test_tftypes_collections_list.py