Execute a runner function asynchronously; eauth is respected This function requires that :conf_master:`external_auth` is configured and the user is authorized to execute runner functions: (``@runner``). .. code-block:: python runner.cmd_async({
(self, low)
| 136 | return dict(fun=fun, kwarg={"kwarg": kwarg, "arg": arg}, **eauth_creds) |
| 137 | |
| 138 | def cmd_async(self, low): |
| 139 | """ |
| 140 | Execute a runner function asynchronously; eauth is respected |
| 141 | |
| 142 | This function requires that :conf_master:`external_auth` is configured |
| 143 | and the user is authorized to execute runner functions: (``@runner``). |
| 144 | |
| 145 | .. code-block:: python |
| 146 | |
| 147 | runner.cmd_async({ |
| 148 | 'fun': 'jobs.list_jobs', |
| 149 | 'username': 'saltdev', |
| 150 | 'password': 'saltdev', |
| 151 | 'eauth': 'pam', |
| 152 | }) |
| 153 | """ |
| 154 | reformatted_low = self._reformat_low(low) |
| 155 | |
| 156 | return mixins.AsyncClientMixin.cmd_async(self, reformatted_low) |
| 157 | |
| 158 | def cmd_sync(self, low, timeout=None, full_return=False): |
| 159 | """ |