mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 13:03:29 +00:00
This change is solely for removing the attribute error that mypy raises when we access `pg_version` on `connection`. django-stubs annotate `connection` as `BaseDatabaseWrapper` while it is actually a proxy object, so we cannot use an regular assertion with isinstance to narrow the type. Signed-off-by: Zixuan James Li <p359101898@gmail.com>