birdy.client.outputs module

class birdy.client.outputs.WPSResult(*args: Any, **kwargs: Any)[source]

Bases: WPSExecution

_make_output(convert_objects=False)[source]
_process_output(output: owslib.wps.Output, convert_objects: bool = False)[source]

Process the output response.

Determine whether it is actual data or a URL to a file.

Parameters:
  • output (owslib.wps.Output) – The WPS outputs.

  • convert_objects (bool) – If True, object_converters will be used.

attach(wps_outputs: owslib.wps.Output, converters: dict | None = None)[source]

Attach the outputs according to converters.

Parameters:
  • wps_outputs (owslib.wps.Output) – The WPS outputs.

  • converters (dict, optional) – Converter dictionary ({name: object}).

get(asobj: bool = False)[source]

Return the process response outputs.

Parameters:

asobj (bool) – If True, object_converters will be used. Default is False.