def provider() -> Iterator[Provider]:
    provider = Provider()
    yield provider
    provider.stop()
Esempio n. 2
0
def provider():
    provider = Provider()
    yield provider
    provider.stop()