The refresh() function synchronizes the job with MindsDB.
refresh()
Use the refresh() method to retrieve job data from the MindsDB server:
my_job.refresh()