Skip to content

Commit d353182

Browse files
committed
Format
1 parent 576ddeb commit d353182

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

‎bats_ai/core/views/configuration.py‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,4 @@ def get_current_user(request):
7676
'email': request.user.email,
7777
'name': request.user.username,
7878
}
79-
return {
80-
'email': '',
81-
'name': ''
82-
}
79+
return {'email': '', 'name': ''}

‎bats_ai/core/views/recording_annotation.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,10 @@ def from_orm(cls, obj: RecordingAnnotation, **kwargs):
3333
model=obj.model,
3434
id=obj.pk,
3535
hasDetails=obj.additional_data is not None,
36-
submitted=obj.submitted
36+
submitted=obj.submitted,
3737
)
3838

39+
3940
# TODO: do we really need this? why can't we just always return the details?
4041
class RecordingAnnotationDetailsSchema(Schema):
4142
species: list[SpeciesSchema] | None

0 commit comments

Comments
 (0)