faust.types.windows

Types related to windowing.

class faust.types.windows.WindowT[source]

Type class for windows.

expires: Optional[float] = None
tz: Optional[timezone] = None
abstract ranges(timestamp: float) List[Tuple[float, float]][source]
Return type:

_GenericAlias[_GenericAlias[float, float]]

abstract stale(timestamp: float, latest_timestamp: float) bool[source]
Return type:

bool

abstract current(timestamp: float) Tuple[float, float][source]
Return type:

_GenericAlias[float, float]

abstract earliest(timestamp: float) Tuple[float, float][source]
Return type:

_GenericAlias[float, float]

abstract delta(timestamp: float, d: Union[timedelta, float, str]) Tuple[float, float][source]
Return type:

_GenericAlias[float, float]