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