chore: upgrade black (#19410)

This commit is contained in:
Ville Brofeldt
2022-03-29 20:03:09 +03:00
committed by GitHub
parent 816a2c3e1e
commit a619cb4ea9
204 changed files with 2125 additions and 608 deletions

View File

@@ -39,7 +39,10 @@ def get_end_dttm(annotation_id: int) -> datetime:
def _insert_annotation_layer(name: str = "", descr: str = "") -> AnnotationLayer:
annotation_layer = AnnotationLayer(name=name, descr=descr,)
annotation_layer = AnnotationLayer(
name=name,
descr=descr,
)
db.session.add(annotation_layer)
db.session.commit()
return annotation_layer