potiuk commented on a change in pull request #8463:
URL: https://github.com/apache/airflow/pull/8463#discussion_r411020602



##########
File path: airflow/configuration.py
##########
@@ -304,6 +305,27 @@ def getint(self, section, key, **kwargs):
     def getfloat(self, section, key, **kwargs):
         return float(self.get(section, key, **kwargs))
 
+    def getimport(self, section, key, **kwargs):
+        """
+        Reads options, imports the full qualified name, and returns the object.
+
+        In case of failure, it throws an exception a clear message with the 
key aad the section names

Review comment:
       ```suggestion
           In case of failure, it throws an exception a clear message with the 
key and the section names
   ```




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