Datasets:
File size: 181 Bytes
5eb110b | 1 2 3 4 5 6 7 8 | from typing import NewType, Protocol, Iterator
class Id(Protocol):
code: int
secrets: Iterator[bytes]
UserId = NewType('UserId', Id) # Error, can't provide distinct type
|