mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-10-30 16:20:04 -05:00
fix: fixed invalid '| None' syntax for python 3.9 (#9993)
This commit is contained in:
1 parent
5c494ecbf6
commit
27406b5627
1 file changed
+1
-1
@@ -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