gigl.src.mocking.lib.versioning#
Attributes#
Classes#
Functions#
| Creates a dictionary of task names to mocked dataset artifact metadata. | |
| Update the mocked dataset artifact metadata with the given task names and metadata. | 
Module Contents#
- class gigl.src.mocking.lib.versioning.MockedDatasetArtifactMetadata[source]#
- Bases: - NamedTuple- frozen_gbml_config_uri: gigl.common.Uri[source]#
 
- gigl.src.mocking.lib.versioning.get_mocked_dataset_artifact_metadata()[source]#
- Creates a dictionary of task names to mocked dataset artifact metadata. - Returns:
- A dictionary of mocked dataset artifact metadata, where the keys are dataset names and the values are artifact metadata. 
- Return type:
- dict[str, MockedDatasetArtifactMetadata] 
 
- gigl.src.mocking.lib.versioning.update_mocked_dataset_artifact_metadata(task_name_to_artifact_metadata)[source]#
- Update the mocked dataset artifact metadata with the given task names and metadata. - Parameters:
- task_name_to_versions (dict[str, MockedDatasetArtifactMetadata]) – A dictionary containing task names and their corresponding metadata. 
- task_name_to_artifact_metadata (dict[str, MockedDatasetArtifactMetadata]) 
 
- Returns:
- None 
- Return type:
- None 
 
