mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-08-18 17:04:53 -05:00
fix: fixed invalid '| None' syntax for python 3.9 (#9993)
This commit is contained in:
@@ -84,7 +84,7 @@ def _get_connection(sid: int, did: int, conn_id: str):
|
||||
)
|
||||
|
||||
|
||||
def _connect_readonly(_manager, conn, conn_id: str) -> tuple[bool, str | None]:
|
||||
def _connect_readonly(_manager, conn, conn_id: str) -> tuple[bool, Optional[str]]:
|
||||
"""
|
||||
Establish a read-only connection.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user