airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From joy...@apache.org
Subject [1/2] incubator-airflow git commit: [AIRFLOW-2206] Remove unsupported args from JdbcOperator doc
Date Mon, 12 Mar 2018 18:06:04 GMT
Repository: incubator-airflow
Updated Branches:
  refs/heads/master a4aa46e41 -> ac397cf71


[AIRFLOW-2206] Remove unsupported args from JdbcOperator doc

JdbcOperator's docstring has unsupported arguments and
a wrongly named argument. This PR fixes them.


Project: http://git-wip-us.apache.org/repos/asf/incubator-airflow/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-airflow/commit/bee4a801
Tree: http://git-wip-us.apache.org/repos/asf/incubator-airflow/tree/bee4a801
Diff: http://git-wip-us.apache.org/repos/asf/incubator-airflow/diff/bee4a801

Branch: refs/heads/master
Commit: bee4a801959a25a2dfaeb198247c98b32d518566
Parents: c6bdaf8
Author: Kengo Seki <sekikn@apache.org>
Authored: Mon Mar 12 06:35:31 2018 -0400
Committer: Kengo Seki <sekikn@apache.org>
Committed: Mon Mar 12 09:02:06 2018 -0400

----------------------------------------------------------------------
 airflow/operators/jdbc_operator.py | 12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/bee4a801/airflow/operators/jdbc_operator.py
----------------------------------------------------------------------
diff --git a/airflow/operators/jdbc_operator.py b/airflow/operators/jdbc_operator.py
index 4ec2fa0..95b0df8 100644
--- a/airflow/operators/jdbc_operator.py
+++ b/airflow/operators/jdbc_operator.py
@@ -22,16 +22,8 @@ class JdbcOperator(BaseOperator):
 
     Requires jaydebeapi.
 
-    :param jdbc_url: driver specific connection url with string variables, e.g. for exasol
jdbc:exa:{0}:{1};schema={2}
-    Template vars are defined like this: {0} = hostname, {1} = port, {2} = dbschema, {3}
= extra
-    :type jdbc_url: string
-    :param jdbc_driver_name: classname of the specific jdbc driver, for exasol com.exasol.jdbc.EXADriver
-    :type jdbc_driver_name: string
-    :param jdbc_driver_loc: absolute path to jdbc driver location, for example /var/exasol/exajdbc.jar
-    :type jdbc_driver_loc: string
-
-    :param conn_id: reference to a predefined database
-    :type conn_id: string
+    :param jdbc_conn_id: reference to a predefined database
+    :type jdbc_conn_id: string
     :param sql: the sql code to be executed
     :type sql: Can receive a str representing a sql statement,
         a list of str (sql statements), or reference to a template file.


Mime
View raw message