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.pyAdded `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 internal1 file
file_info.py
FileInfoConfigfrozen attrs class withpathfield decouple internal3 files
file_info.pyverify_zipcode_data_source.pyread_data_source.py
FileInfoStatefrozen attrs class withpath,exists,size,is_dir,modified_timefields decouple internal3 files
file_info.pyverify_zipcode_data_source.pyread_data_source.py
- Reads file metadata using
pathlib.Pathandosmodule decouple internal1 file
pathlib.Path
Tests and Infrastructure
14 files changed
test_file_content.pyChanges to test_file_content.pytest.protoChanges to test.prototest.pyChanges to test.pytest_pb2.pyChanges to test_pb2.pytest_pb2_grpc.pyChanges to test_pb2_grpc.pymock_type.pyChanges to mock_type.pytest_schema_attribute_path.pyChanges to test_schema_attribute_path.pytest_tftypes_collections_list.pyChanges to test_tftypes_collections_list.pytest_tftypes_collections_map.pyChanges to test_tftypes_collections_map.pytest_tftypes_collections_set.pyChanges to test_tftypes_collections_set.pytest_tftypes_structural_object.pyChanges to test_tftypes_structural_object.pytest_tftypes_structural_tuple.pyChanges to test_tftypes_structural_tuple.pytest_tftypes_types_simple.pyChanges to test_tftypes_types_simple.pydummy_types.pyChanges to dummy_types.py
- Minor test updates across type tests and utility modules
qualify
internal
14 files
test_file_content.pytest.prototest.pytest_pb2.pytest_pb2_grpc.pymock_type.pytest_schema_attribute_path.pytest_tftypes_collections_list.pytest_tftypes_collections_map.pytest_tftypes_collections_set.pytest_tftypes_structural_object.pytest_tftypes_structural_tuple.pytest_tftypes_types_simple.pydummy_types.py