xiangzhu
Contributor III

there're 2 solutions:

official one: Re: Retrieve job-level parameters in Python - Databricks Community - 44720

another one is to use the jobs rest api.

The official one is only available once you enter the argparse part (for some use cases, it might be too late). On the other hand, the rest api can be reaheable from anywhere.