pyvider 2024-12-24
Moved registry to top-level package and restored tftypes operations and serialization
56 files · 3,400+ · 385-

Moved registry from core to top-level package

6 files changed
  • __init__.py Top-level registry package
  • decorators.py Registry decorators at new location
  • discovery.py Component discovery at new location
  • keystone.py Keystone registry at new location
  • registry_metadata.py Registry metadata at new location
  • __init__.py Components stub
  • Moved src/pyvider/core/registry/ to src/pyvider/registry/ as a top-level package and removed debugging module decouple internal
    4 files
    • __init__.py
    • decorators.py
    • discovery.py
    • keystone.py
  • Updated imports across 19+ files to use new pyvider.registry path instead of pyvider.core.registry decouple internal
    1 file
    • pyvider

Restored tftypes operations and serialization modules

6 files changed
  • diff.py Re-added diff operations (243 lines)
  • transform.py Re-added transform operations (110 lines)
  • walk.py Re-added walk operations (158 lines)
  • json.py Re-added JSON serialization (187 lines)
  • msgpack.py Re-added msgpack serialization (145 lines)
  • proto.py Re-added proto serialization (128 lines)
  • Re-added tftypes operations modules for diff, transform, and walk instantiate behavioral
    3 files
    • diff.py
    • transform.py
    • walk.py
  • Re-added tftypes serialization modules for JSON, msgpack, and proto instantiate behavioral
    3 files
    • json.py
    • msgpack.py
    • proto.py

Added mock test infrastructure and updated examples

4 files changed
  • mock_data_source.py Mock data source for testing
  • mock_function.py Mock function for testing
  • mock_resource_file.py Mock file resource for testing
  • provider.tf Expanded configuration (53+ lines)
  • Added mock test infrastructure for data sources, functions, and resources qualify internal
    3 files
    • mock_data_source.py
    • mock_function.py
    • mock_resource_file.py
  • Updated provider.tf example with expanded configuration and removed old examples baseline internal
    1 file
    • provider.tf

Simplified file content resource and cleaned up old modules

2 files changed
  • file_content.py Simplified (66 lines changed) with fixed registry decorator reference
  • notes.md Project notes
  • Simplified file content resource and fixed registry decorator reference from inline register to registry.register streamline internal
    1 file
    • file_content.py
  • Removed old operations/transform.py moved to tftypes and added project notes baseline internal
    2 files
    • transform.py
    • notes.md