airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jakob Homan (Jira)" <>
Subject [jira] [Created] (AIRFLOW-5494) method docstring is quite a mess
Date Fri, 13 Sep 2019 23:09:00 GMT
Jakob Homan created AIRFLOW-5494:

             Summary: method docstring is quite a mess
                 Key: AIRFLOW-5494
             Project: Apache Airflow
          Issue Type: Bug
          Components: hooks
    Affects Versions: 1.10.6
            Reporter: Jakob Homan

Note: This ticket's being created to facilitate a new contributor's workshop for Airflow.
After the workshop has completed, I'll mark these all available for anyone that might like
to take them on.

The run_cli method doc string is quite messed up.  It should be synced with what's really

def run_cli(self, hql, schema=None, verbose=True, hive_conf=None):
    Run an hql statement using the hive cli. If hive_conf is specified
    it should be a dict and the entries will be set as key/value pairs
    in HiveConf

    :param hive_conf: if specified these key value pairs will be passed
        to hive as ``-hiveconf "key"="value"``. Note that they will be
        passed after the ``hive_cli_params`` and thus will override
        whatever values are specified in the database.
    :type hive_conf: dict {code}

This message was sent by Atlassian Jira

View raw message