Skip to content

Conversation

@midgemacf
Copy link
Contributor

TODO: add changelog & fix ruff/ ty for the migrations and backend

Copy link
Contributor

@sempervent sempervent left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a few clarifying questions and comments

Comment on lines +13 to +21
from fastapi import Depends, FastAPI, File, Form, HTTPException, Request, Response, Security, UploadFile
from fastapi.responses import JSONResponse, RedirectResponse
from fastapi.security.api_key import APIKeyHeader
from loguru import logger
from prometheus_client import CONTENT_TYPE_LATEST, Counter, Histogram, generate_latest
from pydantic import BaseModel
from sqlalchemy import create_engine, or_, select, text
from sqlalchemy.exc import IntegrityError, SQLAlchemyError
from sqlalchemy.orm import Session, sessionmaker
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we guard this with a try, raise ImportError from exc with a message to install the backend? or move that logic to init.py for backend?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we expect folks to try and run this bare metal?

I was thinking it wouldn't be necessary since we are using this in the image (which will have the extra automatically installed through the Dockerfile)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we may expect them to run it in bare metal. At least we should be prepared for the ask as Docker might not be feasible on all systems.

@sempervent sempervent self-requested a review November 10, 2025 20:28
Copy link
Contributor

@sempervent sempervent left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we will want to position ourselves later (doesn't have to be this MR) for possible bare-metal installs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants