code: def import_process_template(self, upload_stream, ignore_warnings=None, **kwargs):
          
          route_values = {}
          route_values['action'] = 'Import'
          query_parameters = {}
          if ignore_warnings is not None:
              query_parameters['ignoreWarnings'] = self._serialize.query('ignore_warnings', ignore_warnings, 'bool')
          if "callback" in kwargs:
              callback = kwargs["callback"]
          else:
              callback = None
          content = self._client.stream_upload(upload_stream, callback=callback)
          response = self._send(http_method='POST',
                                location_id='29e1f38d-9e9c-4358-86a5-cdf9896a5759',
                                version='5.0-preview.1',
                                route_values=route_values,
                                query_parameters=query_parameters,
                                content=content,
                                media_type='application/octet-stream')
          return self._deserialize('ProcessImportResult', response)
docs: ImportProcessTemplate.
          [Preview API] Imports a process from zip file.
          :param object upload_stream: Stream to upload
          :param bool ignore_warnings: Default value is false
          :rtype: :class:`<ProcessImportResult> <azure.devops.v5_0.work_item_tracking_process_template.models.ProcessImportResult>`