From 3c0930b813ce50bf6b4b6a1a7624401bfc90eed3 Mon Sep 17 00:00:00 2001 From: Meir Tseitlin Date: Tue, 14 Nov 2023 11:44:37 -0600 Subject: [PATCH] fix block size type error --- src/data_agent_osisoft_pi/connector.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data_agent_osisoft_pi/connector.py b/src/data_agent_osisoft_pi/connector.py index 41f4682..3a6f623 100644 --- a/src/data_agent_osisoft_pi/connector.py +++ b/src/data_agent_osisoft_pi/connector.py @@ -127,7 +127,7 @@ def __init__(self, conn_name="pi_client", server_name="default", **kwargs): self._server = None self._server_name = server_name self._page_size = ( - kwargs["page_size"] if "page_size" in kwargs else DEFAULT_PAGE_SIZE + int(kwargs["page_size"]) if "page_size" in kwargs else DEFAULT_PAGE_SIZE ) @staticmethod