minor fix
This commit is contained in:
parent
dadd73ad32
commit
faa96816f9
@ -2,6 +2,7 @@ __all__ = (
|
|||||||
'BalancedCreation',
|
'BalancedCreation',
|
||||||
'BinaryBalancing',
|
'BinaryBalancing',
|
||||||
'BinaryCreation',
|
'BinaryCreation',
|
||||||
|
'BinaryMetadata',
|
||||||
'BinaryProtocolized',
|
'BinaryProtocolized',
|
||||||
'BinarySplit',
|
'BinarySplit',
|
||||||
'ProtocolizedBinarySplit',
|
'ProtocolizedBinarySplit',
|
||||||
@ -10,6 +11,7 @@ __all__ = (
|
|||||||
from .balancedcreation import BalancedCreation
|
from .balancedcreation import BalancedCreation
|
||||||
from .binarybalancing import BinaryBalancing
|
from .binarybalancing import BinaryBalancing
|
||||||
from .binarycreation import BinaryCreation
|
from .binarycreation import BinaryCreation
|
||||||
|
from .binarymetadata import BinaryMetadata
|
||||||
from .binaryprotocolized import BinaryProtocolized
|
from .binaryprotocolized import BinaryProtocolized
|
||||||
from .binarysplit import BinarySplit
|
from .binarysplit import BinarySplit
|
||||||
from .protocolizedbinarysplit import ProtocolizedBinarySplit
|
from .protocolizedbinarysplit import ProtocolizedBinarySplit
|
||||||
|
@ -12,9 +12,9 @@ MetaDataType = TypeVar('MetaDataType')
|
|||||||
|
|
||||||
|
|
||||||
class BinaryCreation(Generic[ActiveKeyType, MetaDataType, TreeType]):
|
class BinaryCreation(Generic[ActiveKeyType, MetaDataType, TreeType]):
|
||||||
def __init__(self, comparator_: Comparator[ActiveKeyType]):
|
def __init__(self, comparator: Comparator[ActiveKeyType]):
|
||||||
assert isinstance(comparator_, Comparator)
|
assert isinstance(comparator, Comparator)
|
||||||
self.comparator = comparator_
|
self.comparator = comparator
|
||||||
|
|
||||||
async def split(self, tree: TreeType) -> Optional[
|
async def split(self, tree: TreeType) -> Optional[
|
||||||
BinarySplit[ActiveKeyType, MetaDataType, TreeType]
|
BinarySplit[ActiveKeyType, MetaDataType, TreeType]
|
||||||
|
@ -61,8 +61,8 @@ def gather(
|
|||||||
) -> Awaitable[tuple[T0, T1, T2, T3, T4]]: ...
|
) -> Awaitable[tuple[T0, T1, T2, T3, T4]]: ...
|
||||||
|
|
||||||
|
|
||||||
@overload
|
# @overload
|
||||||
def gather(*args: Coroutine[Any, Any, T0]) -> Awaitable[tuple[T0, ...]]: ...
|
# def gather(*args: Coroutine[Any, Any, T0]) -> Awaitable[tuple[T0, ...]]: ...
|
||||||
|
|
||||||
|
|
||||||
def gather(*args):
|
def gather(*args):
|
||||||
|
Loading…
Reference in New Issue
Block a user