Skip to content

Commit dd69a8d

Browse files
committed
fix mypy
1 parent 7b9f249 commit dd69a8d

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

packages/bigframes/bigframes/core/events.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,11 @@
2626

2727
import bigframes.session.executor
2828

29-
_DEFAULT = "default"
29+
_DEFAULT: Literal["default"] = "default"
3030

3131

3232
class Subscriber:
33-
def __init__(
34-
self, callback: Callable[[Event], None], *, publisher: Publisher
35-
): # noqa: E501
33+
def __init__(self, callback: Callable[[Event], None], *, publisher: Publisher): # noqa: E501
3634
self._publisher = publisher
3735
self._callback = callback
3836
self._subscriber_id = uuid.uuid4()

0 commit comments

Comments
 (0)