Skip to content

Commit

Permalink
Add outputs to OAProc function argument (#253)
Browse files Browse the repository at this point in the history
* Add outputs kwargs to OAProc

* use **kwargs

cc geopython/pygeoapi#1899

* Fix typo

* Use named process arguments

* Fix missed kwarg
  • Loading branch information
webb-ben authored Jan 30, 2025
1 parent ce7556e commit 030d28e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pygeometa/pygeoapi_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ def __init__(self, processor_def):

super().__init__(processor_def, PROCESS_METADATA_IMPORT)

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

response = None
mimetype = 'application/json'
Expand Down Expand Up @@ -433,7 +433,7 @@ def __init__(self, processor_def):

super().__init__(processor_def, PROCESS_METADATA_VALIDATE)

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

response = None
mimetype = 'application/json'
Expand Down Expand Up @@ -477,7 +477,7 @@ def __init__(self, processor_def):

super().__init__(processor_def, PROCESS_METADATA_GENERATE)

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

response = None
mimetype = 'application/json'
Expand Down Expand Up @@ -525,7 +525,7 @@ def __init__(self, processor_def):

super().__init__(processor_def, PROCESS_METADATA_TRANSFORM)

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

content = None
response = None
Expand Down

0 comments on commit 030d28e

Please sign in to comment.