def end()

in wandb/run-20240614_160705-xe0qt7lf/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!')