From e80ea8f51e6796094cfe4b3113900299e36fbc1c Mon Sep 17 00:00:00 2001
From: spencer <swilbur@usgs.gov>
Date: Fri, 16 Aug 2024 07:59:07 -0600
Subject: [PATCH] ran lint

---
 geomagio/api/ws/DataApiQuery.py | 1 +
 geomagio/api/ws/app.py          | 6 +++---
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/geomagio/api/ws/DataApiQuery.py b/geomagio/api/ws/DataApiQuery.py
index 9f54f6e8..16bc7180 100644
--- a/geomagio/api/ws/DataApiQuery.py
+++ b/geomagio/api/ws/DataApiQuery.py
@@ -167,6 +167,7 @@ class DataApiQuery(BaseModel):
 #     format: Union[OutputFormat, str] = OutputFormat.IAGA2002
 #     data_host: Union[DataHost, str] = DataHost.DEFAULT #This parameter also has no meaning in the Filter alrogithm use case
 
+
 # The new class inheriting from DataApiQuery
 class FilterDataApiQuery(DataApiQuery):
     input_sampling_period: SamplingPeriod = SamplingPeriod.SECOND
diff --git a/geomagio/api/ws/app.py b/geomagio/api/ws/app.py
index cea8dc94..3018c39e 100644
--- a/geomagio/api/ws/app.py
+++ b/geomagio/api/ws/app.py
@@ -46,9 +46,9 @@ if METADATA_ENDPOINT:
 @app.middleware("http")
 async def add_headers(request: Request, call_next):
     response = await call_next(request)
-    response.headers[
-        "Access-Control-Allow-Headers"
-    ] = "accept, origin, authorization, content-type"
+    response.headers["Access-Control-Allow-Headers"] = (
+        "accept, origin, authorization, content-type"
+    )
     response.headers["Access-Control-Allow-Methods"] = "*"
     response.headers["Access-Control-Allow-Origin"] = "*"
     response.headers["Cache-Control"] = "max-age=60"
-- 
GitLab