Skip to content

Commit 6bd143a

Browse files
committed
Add Lens/Camera/CompoundLens to the package export.
1 parent 417a519 commit 6bd143a

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

python/selfie-lib/selfie_lib/Lens.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
T = TypeVar("T")
88

99

10-
class Lens(Protocol[Snapshot]):
10+
class Lens(Protocol):
1111
def __call__(self, snapshot: Snapshot) -> Snapshot:
1212
raise NotImplementedError
1313

python/selfie-lib/selfie_lib/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
from .CacheSelfie import cache_selfie as cache_selfie
66
from .CommentTracker import CommentTracker as CommentTracker
77
from .FS import FS as FS
8+
from .Lens import Camera as Camera
9+
from .Lens import CompoundLens as CompoundLens
10+
from .Lens import Lens as Lens
811
from .LineReader import LineReader as LineReader
912
from .Literals import LiteralValue as LiteralValue
1013
from .ParseException import ParseException as ParseException

0 commit comments

Comments
 (0)