Skip to content

[feature] Add __eq__ method to SampleList #454

@apsdehal

Description

@apsdehal

🚀 Feature

SampleList frequently require comparisons in tests. It would good to add __eq__ method to SampleList

Pitch

  • Compare list of keys and fail early
  • Compare each item
  • Take special care of tensors
  • Add tests

Note: If you are a bootcamper working on this task, assign the internal task to yourself: T71222206

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions