Skip to content

Commit ca155cc

Browse files
committed
fix imports
1 parent 153f82b commit ca155cc

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

lib/titiler-pgstac-api/runtime/src/handler.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
import asyncio
66
import os
77

8-
from .utils import get_secret_dict
8+
from mangum import Mangum
9+
from utils import get_secret_dict
910

1011
pgstac_secret_arn = os.environ["PGSTAC_SECRET_ARN"]
1112

@@ -19,12 +20,9 @@
1920
"postgres_port": str(secret["port"]),
2021
}
2122
)
22-
23-
from mangum import Mangum
2423
from titiler.pgstac.db import connect_to_db # noqa: E402
2524
from titiler.pgstac.main import app # noqa: E402
2625
from titiler.pgstac.settings import PostgresSettings
27-
from utils import get_secret_dict
2826

2927

3028
@app.on_event("startup")

0 commit comments

Comments
 (0)