From 4d58c97b3f7995a417be7804992ff49c39739e9a Mon Sep 17 00:00:00 2001 From: Zain Hoda <7146154+zainhoda@users.noreply.github.com> Date: Mon, 6 May 2024 09:01:13 -0400 Subject: [PATCH] indentation fix --- src/vanna/base/base.py | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/src/vanna/base/base.py b/src/vanna/base/base.py index 8f1f1502..426a33a1 100644 --- a/src/vanna/base/base.py +++ b/src/vanna/base/base.py @@ -1299,27 +1299,27 @@ def connect_to_presto( protocol: str = 'https', requests_kwargs: dict = None ): - """ - Connect to a Presto database using the specified parameters. - - Args: - host (str): The host address of the Presto database. - catalog (str): The catalog to use in the Presto environment. - schema (str): The schema to use in the Presto environment. - user (str): The username for authentication. - password (str): The password for authentication. - port (int): The port number for the Presto connection. - combined_pem_path (str): The path to the combined pem file for SSL connection. - protocol (str): The protocol to use for the connection (default is 'https'). - requests_kwargs (dict): Additional keyword arguments for requests. - - Raises: - DependencyError: If required dependencies are not installed. - ImproperlyConfigured: If essential configuration settings are missing. - - Returns: - None - """ + """ + Connect to a Presto database using the specified parameters. + + Args: + host (str): The host address of the Presto database. + catalog (str): The catalog to use in the Presto environment. + schema (str): The schema to use in the Presto environment. + user (str): The username for authentication. + password (str): The password for authentication. + port (int): The port number for the Presto connection. + combined_pem_path (str): The path to the combined pem file for SSL connection. + protocol (str): The protocol to use for the connection (default is 'https'). + requests_kwargs (dict): Additional keyword arguments for requests. + + Raises: + DependencyError: If required dependencies are not installed. + ImproperlyConfigured: If essential configuration settings are missing. + + Returns: + None + """ try: from pyhive import presto except ImportError: