chore: upgrade black (#19410)

This commit is contained in:
Ville Brofeldt
2022-04-03 19:13:17 +03:00
committed by Ville Brofeldt
parent 1edd5f1343
commit a70f4dc52f
204 changed files with 2161 additions and 604 deletions
@@ -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