Checklist
Summary
SqlConnection uses the field self._connection_name as the "per instance" portion of a cache key. However, the connection factory allows overriding any connection parameters when creating - which means that you can have multiple connections with different settings sharing a cache key.
SqlConnection should likely add a dummy self-like argument to the inner query function to ensure each instance has its own cache.
Reproducible Code Example
Steps To Reproduce
No response
Expected Behavior
No response
Current Behavior
No response
Is this a regression?
Debug info
- Streamlit version:
- Python version:
- Operating System:
- Browser:
Additional Information
No response
Checklist
Summary
SqlConnectionuses the fieldself._connection_nameas the "per instance" portion of a cache key. However, the connection factory allows overriding any connection parameters when creating - which means that you can have multiple connections with different settings sharing a cache key.SqlConnectionshould likely add a dummyself-like argument to the inner query function to ensure each instance has its own cache.Reproducible Code Example
Steps To Reproduce
No response
Expected Behavior
No response
Current Behavior
No response
Is this a regression?
Debug info
Additional Information
No response