From 5b5cc89c29e6129622087b56896ac5d15fb4a9c6 Mon Sep 17 00:00:00 2001 From: Benjamin Webb <40066515+webb-ben@users.noreply.github.com> Date: Wed, 29 Jan 2025 07:52:02 -0700 Subject: [PATCH] Use named process arguments --- pygeometa/pygeoapi_plugin.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pygeometa/pygeoapi_plugin.py b/pygeometa/pygeoapi_plugin.py index e8ebe2b..2dbf537 100644 --- a/pygeometa/pygeoapi_plugin.py +++ b/pygeometa/pygeoapi_plugin.py @@ -384,7 +384,7 @@ def __init__(self, processor_def): super().__init__(processor_def, PROCESS_METADATA_IMPORT) - def execute(self, data, **kwargs): + def execute(self, data, outputs=None): response = None mimetype = 'application/json' @@ -433,7 +433,7 @@ def __init__(self, processor_def): super().__init__(processor_def, PROCESS_METADATA_VALIDATE) - def execute(self, data, **kwargs): + def execute(self, data, outputs=None): response = None mimetype = 'application/json' @@ -477,7 +477,7 @@ def __init__(self, processor_def): super().__init__(processor_def, PROCESS_METADATA_GENERATE) - def execute(self, data, **kwargs): + def execute(self, data, outputs=None): response = None mimetype = 'application/json' @@ -525,7 +525,7 @@ def __init__(self, processor_def): super().__init__(processor_def, PROCESS_METADATA_TRANSFORM) - def execute(self, data, **kwargs): + def execute(self, data, outputs=None): content = None response = None