def provider() -> Iterator[Provider]:
    provider = Provider()
    yield provider
    provider.stop()
예제 #2
0
def provider():
    provider = Provider()
    yield provider
    provider.stop()