in wandb/run-20231222_131835-z6qr0jaa/files/code/jobs/search-term-data-validation-v2/search_term_data_validation_v2/main_flow.py [0:0]
def end(self):
'''
Metaflow flows end with a function called 'end.'
So here's the end function. It logs artifacts to wandb
and then prints an encouraging message.
We could all use one every now and then.
'''
run = wandb.init(
project="instep-wandb-search-term-data-validation",
config={
"example_metric": "Example Value!"
}
)
run.log({"search-term-data-validation-df": wandb.Table(dataframe=self.validation_df)})
print(f'That was easy!')