From fb0ba7f33848b6d3a1b14180f836e65db77fc915 Mon Sep 17 00:00:00 2001 From: Erik Ritter Date: Mon, 9 Nov 2020 11:13:24 -0800 Subject: [PATCH] Update poll_interval documentation --- pyhive/presto.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyhive/presto.py b/pyhive/presto.py index a58d1131..a38cd891 100644 --- a/pyhive/presto.py +++ b/pyhive/presto.py @@ -103,7 +103,7 @@ def __init__(self, host, port='8080', username=None, principal_username=None, ca else defaults to system user name :param catalog: string -- defaults to ``hive`` :param schema: string -- defaults to ``default`` - :param poll_interval: int -- how often to ask the Presto REST interface for a progress + :param poll_interval: float -- how often to ask the Presto REST interface for a progress update, defaults to a second :param source: string -- arbitrary identifier (shows up in the Presto monitoring page) :param protocol: string -- network protocol, valid options are ``http`` and ``https``.