in wandb/latest-run.40280/files/code/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!')