Update age_impl.py
This commit is contained in:
@@ -6,6 +6,14 @@ import sys
|
|||||||
from contextlib import asynccontextmanager
|
from contextlib import asynccontextmanager
|
||||||
from dataclasses import dataclass
|
from dataclasses import dataclass
|
||||||
from typing import Any, Dict, List, NamedTuple, Optional, Tuple, Union
|
from typing import Any, Dict, List, NamedTuple, Optional, Tuple, Union
|
||||||
|
import pipmaster as pm
|
||||||
|
|
||||||
|
if not pm.is_installed("psycopg-pool"):
|
||||||
|
pm.install("psycopg-pool")
|
||||||
|
pm.install("psycopg[binary,pool]")
|
||||||
|
if not pm.is_installed("asyncpg"):
|
||||||
|
pm.install("asyncpg")
|
||||||
|
|
||||||
|
|
||||||
import psycopg
|
import psycopg
|
||||||
from psycopg.rows import namedtuple_row
|
from psycopg.rows import namedtuple_row
|
||||||
|
Reference in New Issue
Block a user