uranusjr commented on a change in pull request #20976:
URL: https://github.com/apache/airflow/pull/20976#discussion_r789456968
##########
File path: airflow/exceptions.py
##########
@@ -106,10 +106,21 @@ def __init__(self, value: Any) -> None:
super().__init__(value)
self.value = value
+
+class UnmappableXComTypePushed(UnmappableXComPushed):
+ """Raise when an unmappable type is pushed."""
+
def __str__(self) -> str:
return f"unmappable return type {type(self.value).__qualname__!r}"
+class UnmappableXComSizePushed(UnmappableXComPushed):
+ """Raise when the pushed value is to large to map."""
+
+ def __str__(self) -> str:
+ return f"unmappable return value size: {len(self.value)}"
Review comment:
Done
--
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]