Skip to content

Commit

Permalink
docstring indentation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zainhoda committed May 7, 2024
1 parent d4004ec commit a41f8e2
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions src/vanna/base/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -1481,21 +1481,21 @@ def connect_to_hive(
port: int = None,
auth: str = 'CUSTOM'
):
"""
Connect to a Hive database. This is just a helper function to set [`vn.run_sql`][vanna.base.base.VannaBase.run_sql]
Connect to a Hive database. This is just a helper function to set [`vn.run_sql`][vanna.base.base.VannaBase.run_sql]
Args:
host (str): The host of the Hive database.
dbname (str): The name of the database to connect to.
user (str): The username to use for authentication.
password (str): The password to use for authentication.
port (int): The port to use for the connection.
auth (str): The authentication method to use.
Returns:
None
"""
"""
Connect to a Hive database. This is just a helper function to set [`vn.run_sql`][vanna.base.base.VannaBase.run_sql]
Connect to a Hive database. This is just a helper function to set [`vn.run_sql`][vanna.base.base.VannaBase.run_sql]
Args:
host (str): The host of the Hive database.
dbname (str): The name of the database to connect to.
user (str): The username to use for authentication.
password (str): The password to use for authentication.
port (int): The port to use for the connection.
auth (str): The authentication method to use.
Returns:
None
"""

try:
from pyhive import hive
Expand Down

0 comments on commit a41f8e2

Please sign in to comment.