(self, actual, allowed)
| 509 | ) |
| 510 | |
| 511 | def _validate_all_known_args(self, actual, allowed): |
| 512 | for kwarg in actual: |
| 513 | if kwarg not in allowed: |
| 514 | raise ValueError( |
| 515 | "Invalid extra_args key '{}', " |
| 516 | "must be one of: {}".format(kwarg, ', '.join(allowed)) |
| 517 | ) |
| 518 | |
| 519 | def _add_operation_defaults(self, extra_args): |
| 520 | if ( |