pyvider 2025-03-06
Added `FileInfoDataSource` data source component (179 lines) for retrieving file metadata
50 files · 2,044+ · 212-

FileInfo Data Source

1 file changed
  • file_info.py Added `components/data_sources/file_info.py` (179 lines) with `@register_data_source("pyvider_fil...
  • Added components/data_sources/file_info.py (179 lines) with @register_data_source("pyvider_file_info") decorator instantiate internal
    1 file
    • file_info.py
  • FileInfoConfig frozen attrs class with path field decouple internal
    3 files
    • file_info.py
    • verify_zipcode_data_source.py
    • read_data_source.py
  • FileInfoState frozen attrs class with path, exists, size, is_dir, modified_time fields decouple internal
    3 files
    • file_info.py
    • verify_zipcode_data_source.py
    • read_data_source.py
  • Reads file metadata using pathlib.Path and os module decouple internal
    1 file
    • pathlib.Path

Tests and Infrastructure

14 files changed
  • test_file_content.py Changes to test_file_content.py
  • test.proto Changes to test.proto
  • test.py Changes to test.py
  • test_pb2.py Changes to test_pb2.py
  • test_pb2_grpc.py Changes to test_pb2_grpc.py
  • mock_type.py Changes to mock_type.py
  • test_schema_attribute_path.py Changes to test_schema_attribute_path.py
  • test_tftypes_collections_list.py Changes to test_tftypes_collections_list.py
  • test_tftypes_collections_map.py Changes to test_tftypes_collections_map.py
  • test_tftypes_collections_set.py Changes to test_tftypes_collections_set.py
  • test_tftypes_structural_object.py Changes to test_tftypes_structural_object.py
  • test_tftypes_structural_tuple.py Changes to test_tftypes_structural_tuple.py
  • test_tftypes_types_simple.py Changes to test_tftypes_types_simple.py
  • dummy_types.py Changes to dummy_types.py
  • Minor test updates across type tests and utility modules qualify internal
    14 files
    • test_file_content.py
    • test.proto
    • test.py
    • test_pb2.py
    • test_pb2_grpc.py
    • mock_type.py
    • test_schema_attribute_path.py
    • test_tftypes_collections_list.py
    • test_tftypes_collections_map.py
    • test_tftypes_collections_set.py
    • test_tftypes_structural_object.py
    • test_tftypes_structural_tuple.py
    • test_tftypes_types_simple.py
    • dummy_types.py