-
Notifications
You must be signed in to change notification settings - Fork 1
Feature/incorporate images #15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: release/1.2.0
Are you sure you want to change the base?
Conversation
sempervent
left a comment
There was a problem hiding this 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
| 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 |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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)
There was a problem hiding this comment.
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.
opensampl/server/migrations/_migrations/versions/2025_09_22_0915_campus_view_not_forced.py
Show resolved
Hide resolved
sempervent
left a comment
There was a problem hiding this 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.
TODO: add changelog & fix ruff/ ty for the migrations and backend