mik-laj commented on a change in pull request #8560:
URL: https://github.com/apache/airflow/pull/8560#discussion_r415909942



##########
File path: airflow/models/xcom.py
##########
@@ -229,3 +230,20 @@ def deserialize_value(result) -> Any:
                       "for XCOM, then you need to enable pickle "
                       "support for XCOM in your airflow config.")
             raise
+
+
+def resolve_xcom_backend():
+    """Resolves custom XCom class"""
+    path_to_custom_class = conf.get("core", "xcom_backend")

Review comment:
       Can you use conf.getimport here? This provides much more user-friendly 
messages.




----------------------------------------------------------------
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.

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


Reply via email to