pyvider 2025-04-05
Deleted the entire `src/pyvider/telemetry/` package (logging, tracing, metering modules totaling...
26 files · 1,031+ · 1,657-

Telemetry Package

12 files changed
  • __init__.py Deleted `src/pyvider/telemetry/__init__.py` (20 lines)
  • init.py Deleted `src/pyvider/telemetry/init.py` (7 lines)
  • utils.py Deleted `src/pyvider/telemetry/utils.py` (14 lines)
  • __init__.py Deleted `src/pyvider/telemetry/logging/__init__.py` (2 lines)
  • base.py Deleted `src/pyvider/telemetry/logging/base.py` (383 lines) - the main PyviderLogger implementation
  • config.py Deleted `src/pyvider/telemetry/logging/config.py` (21 lines)
  • formatters.py Deleted `src/pyvider/telemetry/logging/formatters.py` (91 lines)
  • proxy.py Deleted `src/pyvider/telemetry/logging/proxy.py` (34 lines)
  • __init__.py Deleted `src/pyvider/telemetry/metering/__init__.py` (7 lines) and `base.py` (13 lines)
  • base.py Deleted `src/pyvider/telemetry/metering/__init__.py` (7 lines) and `base.py` (13 lines)
  • __init__.py Deleted `src/pyvider/telemetry/tracing/__init__.py` (7 lines), `base.py` (99 lines), and `decorat...
  • decorators.py Deleted `src/pyvider/telemetry/tracing/__init__.py` (7 lines), `base.py` (99 lines), and `decorat...
  • Deleted src/pyvider/telemetry/__init__.py (20 lines) decouple behavioral
    1 file
    • __init__.py
  • Deleted src/pyvider/telemetry/init.py (7 lines) instantiate architectural
    1 file
    • init.py
  • Deleted src/pyvider/telemetry/utils.py (14 lines) decouple behavioral
    1 file
    • utils.py
  • Deleted src/pyvider/telemetry/logging/__init__.py (2 lines) decouple behavioral
    1 file
    • __init__.py
  • Deleted src/pyvider/telemetry/logging/base.py (383 lines) - the main PyviderLogger implementation decouple behavioral
    1 file
    • base.py
  • Deleted src/pyvider/telemetry/logging/config.py (21 lines) baseline behavioral
    1 file
    • config.py
  • Deleted src/pyvider/telemetry/logging/formatters.py (91 lines) decouple behavioral
    1 file
    • formatters.py
  • Deleted src/pyvider/telemetry/logging/proxy.py (34 lines) decouple behavioral
    1 file
    • proxy.py
  • Deleted src/pyvider/telemetry/metering/__init__.py (7 lines) and base.py (13 lines) decouple behavioral
    2 files
    • __init__.py
    • base.py
  • Deleted src/pyvider/telemetry/tracing/__init__.py (7 lines), base.py (99 lines), and decorators.py (176 lines) decouple behavioral
    3 files
    • __init__.py
    • base.py
    • decorators.py

Conversion Operation Context

1 file changed
  • context.py Added `src/pyvider/conversion/context.py` (135 lines) with `OperationContext` for tracking which ...
  • Added src/pyvider/conversion/context.py (135 lines) with OperationContext for tracking which protocol handler is currently executing interface internal
    1 file
    • context.py
  • Provides get_current_operation() for context-aware conversion behavior decouple behavioral
    7 files
    • __init__.py
    • base.py
    • context.py
    • terraform.py
    • types.py
    • terraform_to_cty.py
    • context.py

Conversion Base Module Rewrite

12 files changed
  • __init__.py Changes to __init__.py
  • base.py Changes to base.py
  • context.py Changes to context.py
  • terraform.py Changes to terraform.py
  • types.py Changes to types.py
  • base.py Changes to base.py
  • terraform_to_cty.py Changes to terraform_to_cty.py
  • base.py Changes to base.py
  • base.py Changes to base.py
  • base.py Changes to base.py
  • base.py Changes to base.py
  • base.py Changes to base.py
  • Changed Registry from @dataclass to @attrs.define with attrs.field(factory=dict) decouple internal
    12 files
    • __init__.py
    • base.py
    • context.py
    • terraform.py
    • types.py
    • base.py
    • terraform_to_cty.py
    • base.py
    • base.py
    • base.py
    • base.py
    • base.py
  • Changed ConverterOptions from TypedDict to Dict[str, Any] subclass decouple internal
    12 files
    • __init__.py
    • base.py
    • context.py
    • terraform.py
    • types.py
    • base.py
    • terraform_to_cty.py
    • base.py
    • base.py
    • base.py
    • base.py
    • base.py
  • Replaced Python 3.12 union syntax (type | None) with Optional[Type] throughout decouple internal
    12 files
    • __init__.py
    • base.py
    • context.py
    • terraform.py
    • types.py
    • base.py
    • terraform_to_cty.py
    • base.py
    • base.py
    • base.py
    • base.py
    • base.py
  • Added OperationContext parameter to encode() and decode() dispatch functions instantiate internal
    12 files
    • __init__.py
    • base.py
    • context.py
    • terraform.py
    • types.py
    • base.py
    • terraform_to_cty.py
    • base.py
    • base.py
    • base.py
    • base.py
    • base.py
  • Renamed parameter format to format_kind to avoid shadowing builtin decouple errata
    12 files
    • __init__.py
    • base.py
    • context.py
    • terraform.py
    • types.py
    • base.py
    • terraform_to_cty.py
    • base.py
    • base.py
    • base.py
    • base.py
    • base.py
  • Changed FormatType from Literal[...] to Union[str, FormatKind] decouple internal
    12 files
    • __init__.py
    • base.py
    • context.py
    • terraform.py
    • types.py
    • base.py
    • terraform_to_cty.py
    • base.py
    • base.py
    • base.py
    • base.py
    • base.py

Protocol Handler Expansion

4 files changed
  • apply_resource_change.py Expanded `apply_resource_change.py` (+235 lines) with more detailed resource change handling
  • plan_resource_change.py Expanded `plan_resource_change.py` (+212 lines) with enhanced planning logic
  • get_provider_schema.py Simplified `get_provider_schema.py` (-427 lines net, significant reduction)
  • dynamic_value_adapter.py Updated `dynamic_value_adapter.py` with 190 lines of changes
  • Expanded apply_resource_change.py (+235 lines) with more detailed resource change handling decouple internal
    1 file
    • apply_resource_change.py
  • Expanded plan_resource_change.py (+212 lines) with enhanced planning logic decouple internal
    1 file
    • plan_resource_change.py
  • Simplified get_provider_schema.py (-427 lines net, significant reduction) decouple internal
    1 file
    • get_provider_schema.py
  • Updated dynamic_value_adapter.py with 190 lines of changes decouple internal
    1 file
    • dynamic_value_adapter.py

Miscellaneous

6 files changed
  • string_manipulation.py Moved `components/functions/string_manipulation.py` to `components/disabled/functions/`
  • functions Moved `components/functions/string_manipulation.py` to `components/disabled/functions/`
  • registry.py Removed `resources/registry.py` (39 lines)
  • resource.py Added `ResourceError` in `exceptions/resource.py` (4 lines)
  • base.py Removed unused imports from `providers/base.py`
  • types.py Updated `conversion/types.py` with 7 lines of changes
  • Moved components/functions/string_manipulation.py to components/disabled/functions/ decouple internal
    2 files
    • string_manipulation.py
    • functions
  • Removed resources/registry.py (39 lines) decouple internal
    1 file
    • registry.py
  • Added ResourceError in exceptions/resource.py (4 lines) instantiate internal
    1 file
    • resource.py
  • Removed unused imports from providers/base.py deprecate internal
    1 file
    • base.py
  • Updated conversion/types.py with 7 lines of changes decouple internal
    1 file
    • types.py