Fixes an issue where we would connect to the server at __init__ time to retrieve the number of records per page, even if connect=False was specified. We will now lazily initialize that value.
The fix is designed in such a way that we are backwards compatible.
From the library or from client code, sg.config.records_per_page will always return the right value from the server, if available
Assigning sg.config.records_per_page will override whatever value was on the server.
Fixes an issue where we would connect to the server at
__init__
time to retrieve the number of records per page, even ifconnect=False
was specified. We will now lazily initialize that value.The fix is designed in such a way that we are backwards compatible.
sg.config.records_per_page
will always return the right value from the server, if availablesg.config.records_per_page
will override whatever value was on the server.