Coverage for kwai/core/domain/use_case.py: 100%
4 statements
« prev ^ index » next coverage.py v7.3.0, created at 2023-09-05 17:55 +0000
« prev ^ index » next coverage.py v7.3.0, created at 2023-09-05 17:55 +0000
1"""Module for defining common classes, functions, ... for use cases."""
2from typing import AsyncIterator, NamedTuple
5class UseCaseBrowseResult(NamedTuple):
6 """A named tuple for a use case that returns a result of browsing entities."""
8 count: int
9 iterator: AsyncIterator