Skip to content

Commit 630c108

Browse files
committed
Use **kwargs
cc geopython#1899
1 parent 2bd3261 commit 630c108

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

pygeoapi/process/echo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def __init__(self, processor_def):
115115

116116
super().__init__(processor_def, PROCESS_METADATA)
117117

118-
def execute(self, data, outputs=None):
118+
def execute(self, data, **kwargs):
119119

120120
mimetype = 'application/json'
121121

pygeoapi/process/hello_world.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def __init__(self, processor_def):
119119
super().__init__(processor_def, PROCESS_METADATA)
120120
self.supports_outputs = True
121121

122-
def execute(self, data, outputs=None):
122+
def execute(self, data, outputs=None, **kwargs):
123123
mimetype = 'application/json'
124124
name = data.get('name')
125125

pygeoapi/process/shapely_functions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ def __init__(self, processor_def):
249249
self.supported_formats = [fmt.value for fmt in SupportedFormats]
250250
super().__init__(processor_def, PROCESS_METADATA)
251251

252-
def execute(self, data, outputs=None) -> Tuple[str, Dict[str, Any]]:
252+
def execute(self, data, **kwargs) -> Tuple[str, Dict[str, Any]]:
253253
mimetype = "application/json"
254254
operation = data.get("operation")
255255
output_format = data.get("output_format")

0 commit comments

Comments
 (0)