Skip to content

Commit

Permalink
Add outputs to OAProc
Browse files Browse the repository at this point in the history
  • Loading branch information
webb-ben committed Jan 14, 2025
1 parent b4d3535 commit 2bd3261
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pygeoapi/process/echo.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def __init__(self, processor_def):

super().__init__(processor_def, PROCESS_METADATA)

def execute(self, data):
def execute(self, data, outputs=None):

mimetype = 'application/json'

Expand Down
2 changes: 1 addition & 1 deletion pygeoapi/process/shapely_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ def __init__(self, processor_def):
self.supported_formats = [fmt.value for fmt in SupportedFormats]
super().__init__(processor_def, PROCESS_METADATA)

def execute(self, data) -> Tuple[str, Dict[str, Any]]:
def execute(self, data, outputs=None) -> Tuple[str, Dict[str, Any]]:
mimetype = "application/json"
operation = data.get("operation")
output_format = data.get("output_format")
Expand Down

0 comments on commit 2bd3261

Please sign in to comment.