From a41f8e2960294254082fb93b24aa834f7f6a1733 Mon Sep 17 00:00:00 2001 From: Zain Hoda <7146154+zainhoda@users.noreply.github.com> Date: Tue, 7 May 2024 09:45:19 -0400 Subject: [PATCH] docstring indentation fix --- src/vanna/base/base.py | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/src/vanna/base/base.py b/src/vanna/base/base.py index bab43f2b..3d631a1b 100644 --- a/src/vanna/base/base.py +++ b/src/vanna/base/base.py @@ -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