This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from typing import Any, TypeVar | |
import sqlalchemy as sa | |
from fastapi.encoders import jsonable_encoder | |
from pydantic import BaseModel, TypeAdapter | |
from sqlalchemy import Dialect | |
from sqlalchemy.dialects.postgresql import JSONB | |
from sqlalchemy.sql.type_api import TypeEngine |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Source: https://gist.github.com/usr-ein/c42d98abca3cb4632ab0c2c6aff8c88a | |
################################ | |
# PYTHON-BASE | |
# Sets up all our shared environment variables | |
################################ | |
FROM python:3.11-slim as python-base | |
# python | |
ENV PYTHONUNBUFFERED=1 \ |