Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
roomrys committed Jan 21, 2025
1 parent ba59d6d commit 0d0bb8c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions sleap_io/model/camera.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,7 @@ def load(cls, filename: str) -> CameraGroup:

return camera_group


@define(eq=False) # Set eq to false to make class hashable
class RecordingSession:
"""A recording session with multiple cameras.
Expand Down
2 changes: 1 addition & 1 deletion tests/model/test_camera.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ def test_recording_session_add_video():
assert session._video_by_camera == {camera_1: video_1, camera_2: video_2}
assert session._camera_by_video == {video_1: camera_1, video_2: camera_2}


def test_camera_group_cameras():
"""Test camera group cameras method."""
camera1 = Camera(name="camera1")
Expand Down

0 comments on commit 0d0bb8c

Please sign in to comment.