This commit is contained in:
Nuno Campos
2024-01-12 17:57:04 -08:00
parent 426a5c1b10
commit 3857713601
+2 -6
View File
@@ -1,5 +1,5 @@
from contextlib import contextmanager
from typing import Annotated, Callable, Generator, Generic, Optional, Sequence, Type
from typing import Callable, Generator, Generic, Optional, Sequence, Type
from typing_extensions import Self
@@ -16,11 +16,7 @@ class BinaryOperatorAggregate(Generic[Value], BaseChannel[Value, Value, Value]):
```
"""
def __init__(
self,
typ: Type[Value],
operator: Callable[[Value, Value], Value],
):
def __init__(self, typ: Type[Value], operator: Callable[[Value, Value], Value]):
self.typ = typ
self.operator = operator
try: