File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -435,7 +435,10 @@ def _check_environment(environment):
435435 # it we use the environment that was passed to evaluate the full
436436 # DataOp. So if we want such a verification it should be a separate
437437 # check done at a higher level (eg in the estimators' `fit`, `predict`
438- # etc.) where we know we are not working with a sub-DataOp.
438+ # etc.) where we know we are not working with a sub-DataOp. We do perform
439+ # such a check when a key is missing from the env to provide a better
440+ # message, but it is only used for the content of the message rather than
441+ # enforcing no extra keys ahead of time.
439442 #
440443 # - variables ⊂ env: we cannot check that all variables in the DataOp
441444 # have a matching key in the `environment`, because depending on the
You can’t perform that action at this time.
0 commit comments