cli_utils
get_input_for_existing_data_entities(existing_data_entity_list)
¶
Prompts the user to choose input for a task from a list of existing data entities.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
existing_data_entity_list | List[DataEntity] | A list of existing data entities. | required |
Returns:
Type | Description |
---|---|
List[DataEntity] | List[DataEntity]: A list of chosen data entities. |
Source code in exe_kg_lib/utils/cli_utils.py
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 |
|
get_input_for_new_data_entities(data_semantics_list, data_structure_list, namespace, data_entity)
¶
Prompts the user to enter input columns and their corresponding data semantics and data structure.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
data_semantics_list | List[Entity] | A list of available data semantics. | required |
data_structure_list | List[Entity] | A list of available data structures. | required |
namespace | Namespace | The namespace for the new data entities. | required |
data_entity | Entity | The data entity to which the new data entities belong. | required |
Returns:
Type | Description |
---|---|
List[DataEntity] | List[DataEntity]: A list of newly created data entities. |
Source code in exe_kg_lib/utils/cli_utils.py
42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 |
|
input_pipeline_info()
¶
Prompts the user to enter information about the pipeline.
Returns:
Type | Description |
---|---|
Tuple[str, str, str] | A tuple containing the pipeline name, input data path, and output directory for saving plots. |
Source code in exe_kg_lib/utils/cli_utils.py
83 84 85 86 87 88 89 90 91 92 93 94 |
|