-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Marc Tonsen
committed
Oct 17, 2024
1 parent
5c23b88
commit a8b00c3
Showing
2 changed files
with
29 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
::: pupil_labs.foo | ||
::: pupil_labs.reader |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
from pathlib import Path | ||
|
||
|
||
class PTSIndexer: | ||
pass | ||
|
||
|
||
class IntIndexer: | ||
pass | ||
|
||
|
||
class Reader: | ||
def __init__(self, path: Path): | ||
raise NotImplementedError | ||
|
||
@property | ||
def by_pts(self) -> PTSIndexer: | ||
raise NotImplementedError | ||
|
||
@property | ||
def by_idx(self) -> IntIndexer: | ||
raise NotImplementedError | ||
|
||
def __len__(self): | ||
raise NotImplementedError | ||
|
||
def __getitem__(self, idx): | ||
raise NotImplementedError |