ashb commented on code in PR #54505:
URL: https://github.com/apache/airflow/pull/54505#discussion_r2559456850


##########
task-sdk/src/airflow/sdk/definitions/param.py:
##########
@@ -297,7 +297,7 @@ def resolve(self, context: Context) -> Any:
             return self._default
         with contextlib.suppress(KeyError):
             return context["params"][self._name]
-        raise AirflowException(f"No value could be resolved for parameter 
{self._name}")
+        raise RuntimeError(f"No value could be resolved for parameter 
{self._name}")

Review Comment:
   This one is fine as users don't ever call resolve directly (it should 
probably be marked as `:meta private:` if it's not already) -- it's called for 
them.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to