From 4769527687068363a840d54d546880b14aead72d Mon Sep 17 00:00:00 2001 From: Auto-format Bot Date: Sat, 28 Oct 2023 08:02:23 +0000 Subject: [PATCH 1/2] Automatically reformatting code with black and isort --- app/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main.py b/app/main.py index 09c91d16..4aa1f606 100644 --- a/app/main.py +++ b/app/main.py @@ -1,6 +1,6 @@ import logging import os -from typing import List, Dict +from typing import Dict, List from apscheduler.schedulers.asyncio import AsyncIOScheduler from fastapi import FastAPI From 64c32511f6c1c9f352f7989def315c3ad1d384b2 Mon Sep 17 00:00:00 2001 From: blaise-muhirwa <135643310+blaise-muhirwa@users.noreply.github.com> Date: Tue, 31 Oct 2023 03:29:42 -0700 Subject: [PATCH 2/2] Apply suggested change Co-authored-by: Tyler Romero --- app/core/database.py | 1 - 1 file changed, 1 deletion(-) diff --git a/app/core/database.py b/app/core/database.py index f0b7098c..727a8a91 100644 --- a/app/core/database.py +++ b/app/core/database.py @@ -24,7 +24,6 @@ class DetectorDeployment(Base): """ __tablename__ = "detector_deployments" - id = Column(Integer, primary_key=True) detector_id = Column(String, unique=True) api_token = Column(String)