(self, parameters, value)
| 149 | self._param_to_replace = kwargs['serialized_name'] |
| 150 | |
| 151 | def add_to_params(self, parameters, value): |
| 152 | if value is None: |
| 153 | return |
| 154 | unpacked = self._unpack_argument(value) |
| 155 | if 'ZipFile' in unpacked: |
| 156 | raise ParamValidationError( |
| 157 | "ZipFile cannot be provided " |
| 158 | "as part of the %s argument. " |
| 159 | "Please use the '--zip-file' " |
| 160 | "option instead to specify a zip file." % self._cli_name |
| 161 | ) |
| 162 | if parameters.get(self._param_to_replace): |
| 163 | parameters[self._param_to_replace].update(unpacked) |
| 164 | else: |
| 165 | parameters[self._param_to_replace] = unpacked |
nothing calls this directly
no test coverage detected