Skip to content

πŸ’‘ Slicing for ModelBase collectionsΒ #31

@demberto

Description

@demberto

TIL, slicing needs to be separately implemented even when the __getitem__ method currently supports SupportsIndex values.

In layman terms, this works:

obj[0], obj[1]  # βœ”

but this doesn't:

obj[0:1]    # ❌

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestmodelsHigh-level API

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions