breezy-portugal-43538
12/19/2022, 10:42 AMTrainingDataClass(
trainingData=training_data
)
But it doesn't work, my training_data is just a list with dictionaries containing the key, value pairs like in this example below:
https://github.com/datahub-project/datahub/blob/a121aff6eb2814dc6d15c4406793ad1bd9[…]5eed3e/metadata-ingestion/examples/mce_files/bootstrap_mce.jsonhundreds-photographer-13496
12/19/2022, 10:51 AMhundreds-photographer-13496
12/19/2022, 10:52 AMbreezy-portugal-43538
12/19/2022, 10:57 AMtest = [
{
"urn": "urn:li:dataset:(urn:li:dataPlatform:s3,my/testing/stuff/file.parquet,TEST)",
"motivation": "For science!",
"preprocessing": ["Aggregation"]
}
]
to:
TrainingDataClass(
trainingData=test
),
then this should work, right? Or does it require additional creation of some object?hundreds-photographer-13496
12/19/2022, 10:59 AMtest = [
BaseData(
urn= "urn:li:dataset:(urn:li:dataPlatform:s3,my/testing/stuff/file.parquet,TEST)",
motivation= "For science!",
preprocessing= ["Aggregation"]
)
]breezy-portugal-43538
12/19/2022, 12:00 PMbreezy-portugal-43538
12/19/2022, 12:23 PMhundreds-photographer-13496
12/19/2022, 1:15 PMbreezy-portugal-43538
12/19/2022, 1:44 PM