File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 6565 _ProcessGraphAbstraction ,
6666 build_child_callback ,
6767)
68- from openeo .rest .graph_building import CollectionProperty
68+ from openeo .rest .graph_building import CollectionProperty , ProcessBuilder
6969from openeo .rest .job import BatchJob
7070from openeo .rest .mlmodel import MlModel
7171from openeo .rest .models .general import ValidationResponse
@@ -513,9 +513,9 @@ def _get_temporal_extent(
513513 if len (args ) == 1 and isinstance (args [0 ], Parameter ):
514514 assert start_date is None and end_date is None and extent is None
515515 return args [0 ]
516- elif len (args ) == 0 and isinstance (extent , Parameter ):
516+ elif len (args ) == 0 and ( isinstance (extent , Parameter ) or isinstance ( extent , ProcessBuilder ) ):
517517 assert start_date is None and end_date is None
518- # TODO: warn about unexpected parameter schema
518+ # TODO: warn about unexpected parameter or ProcessBuilder schema
519519 return extent
520520 else :
521521 def convertor (d : Any ) -> Any :
You can’t perform that action at this time.
0 commit comments