CurrentRun.ctx() is used access context variables. These can be variables passed into the PrismProject's ctx, or it can be variables passed into the runtime_ctx at runtime.
Here is the full method definition:
CurrentRun.ctx(self, key: str, default_value: Optional[Any] =None) -> Any:""" Get the value associated with context variable `key`. Context variables can be set in two places: when instantiated the PrismProject (with the `ctx` keyword argument) and when creating the run job (with the `runtime_ctx` keyword argument in the PrismProject's `create_run_job` method). args: key: variable to retrieve default_value: default value to return if `key` is not found. Default is `None` returns: value associated with context variable `key` """