Skip to content

Commit 1554874

Browse files
committed
revert properties field modifiers (separte PR)
1 parent dcfc22e commit 1554874

File tree

3 files changed

+0
-201
lines changed

3 files changed

+0
-201
lines changed

weaver/processes/builtin/properties_processor.cwl

-32
This file was deleted.

weaver/processes/builtin/properties_processor.py

-156
This file was deleted.

weaver/processes/execution.py

-13
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
from weaver.owsexceptions import OWSInvalidParameterValue, OWSNoApplicableCode
3939
from weaver.processes import wps_package
4040
from weaver.processes.builtin.collection_processor import process_collection
41-
from weaver.processes.builtin.properties_processor import process_properties
4241
from weaver.processes.constants import WPS_BOUNDINGBOX_DATA, WPS_COMPLEX_DATA, JobInputsOutputsSchema
4342
from weaver.processes.convert import (
4443
convert_input_values_schema,
@@ -670,18 +669,6 @@ def parse_wps_inputs(wps_process, job, container=None):
670669
else:
671670
resolved_input_values = [(input_value, input_info)]
672671

673-
# post-handling of properties
674-
properties = input_value.get("properties") if isinstance(input_value, dict) else None
675-
if properties:
676-
input_prop_path = os.path.join(job.tmpdir, "inputs", input_id)
677-
# FIXME: handle other cross-input refs?
678-
# (ie: parametrized I/O in https://docs.ogc.org/DRAFTS/21-009.html#section_deployable_workflows)
679-
input_prop_values = {input_id: resolved_input_values}
680-
resolved_input_values = process_properties(
681-
properties,
682-
input_prop_values,
683-
input_prop_path,
684-
)
685672
resolved_inputs.extend(resolved_input_values)
686673

687674
for input_value, input_info in resolved_inputs:

0 commit comments

Comments
 (0)