pyvider 2025-03-17
Rewrote numeric function components to accept `Any` type parameters instead of `CtyNumber`,...
17 files · 1,543+ · 434-

Numeric Functions Type Handling

1 file changed
  • numeric_functions.py Changed function signatures from `CtyNumber` parameters to `Any` in `numeric_functions.py`
  • Changed function signatures from CtyNumber parameters to Any in numeric_functions.py decouple internal
    1 file
    • numeric_functions.py
  • Added _ensure_number() helper for converting input values to numeric types at runtime instantiate internal
    4 files
    • numeric_functions.py
    • string_manipulation.py
    • test_functions.tf
    • adapters.py
  • Simplified function descriptions from multi-line HCL examples to single-line summaries decouple internal
    4 files
    • numeric_functions.py
    • string_manipulation.py
    • test_functions.tf
    • adapters.py
  • Removed from pyvider.cty import CtyNumber import interface internal
    4 files
    • numeric_functions.py
    • string_manipulation.py
    • test_functions.tf
    • adapters.py

Protocol Handlers

2 files changed
  • get_functions.py Updated `get_functions.py` (26 lines changed) with revised function metadata handling
  • context.py Updated `resources/context.py` (6 lines changed)
  • Updated get_functions.py (26 lines changed) with revised function metadata handling decouple internal
    1 file
    • get_functions.py
  • Updated resources/context.py (6 lines changed) decouple internal
    1 file
    • context.py