Skip to content

Commit 030d28e

Browse files
authored
Add outputs to OAProc function argument (#253)
* Add outputs kwargs to OAProc * use **kwargs cc geopython/pygeoapi#1899 * Fix typo * Use named process arguments * Fix missed kwarg
1 parent ce7556e commit 030d28e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pygeometa/pygeoapi_plugin.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ def __init__(self, processor_def):
384384

385385
super().__init__(processor_def, PROCESS_METADATA_IMPORT)
386386

387-
def execute(self, data):
387+
def execute(self, data, outputs=None):
388388

389389
response = None
390390
mimetype = 'application/json'
@@ -433,7 +433,7 @@ def __init__(self, processor_def):
433433

434434
super().__init__(processor_def, PROCESS_METADATA_VALIDATE)
435435

436-
def execute(self, data):
436+
def execute(self, data, outputs=None):
437437

438438
response = None
439439
mimetype = 'application/json'
@@ -477,7 +477,7 @@ def __init__(self, processor_def):
477477

478478
super().__init__(processor_def, PROCESS_METADATA_GENERATE)
479479

480-
def execute(self, data):
480+
def execute(self, data, outputs=None):
481481

482482
response = None
483483
mimetype = 'application/json'
@@ -525,7 +525,7 @@ def __init__(self, processor_def):
525525

526526
super().__init__(processor_def, PROCESS_METADATA_TRANSFORM)
527527

528-
def execute(self, data):
528+
def execute(self, data, outputs=None):
529529

530530
content = None
531531
response = None

0 commit comments

Comments
 (0)