Skip to content

Commit 5319c3b

Browse files
committed
pre-commits.
1 parent 7611903 commit 5319c3b

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

stac_fastapi/extensions/stac_fastapi/extensions/core/transaction.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -254,9 +254,7 @@ def register_update_collection(self):
254254
response_model_exclude_unset=True,
255255
response_model_exclude_none=True,
256256
methods=["PUT"],
257-
endpoint=create_async_endpoint(
258-
self.client.update_collection, PutCollection
259-
),
257+
endpoint=create_async_endpoint(self.client.update_collection, PutCollection),
260258
)
261259

262260
def register_patch_collection(self):
@@ -301,9 +299,7 @@ def register_delete_collection(self):
301299
response_model_exclude_unset=True,
302300
response_model_exclude_none=True,
303301
methods=["DELETE"],
304-
endpoint=create_async_endpoint(
305-
self.client.delete_collection, CollectionUri
306-
),
302+
endpoint=create_async_endpoint(self.client.delete_collection, CollectionUri),
307303
)
308304

309305
def register(self, app: FastAPI) -> None:

0 commit comments

Comments
 (0)