mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-04 22:34:52 +00:00
Update compose example
This commit is contained in:
parent
d61a2ce8a9
commit
b35810dc9f
1 changed files with 6 additions and 4 deletions
|
|
@ -49,13 +49,15 @@ async def compose(
|
||||||
|
|
||||||
|
|
||||||
async def main():
|
async def main():
|
||||||
app1 = Client("account1")
|
apps = [
|
||||||
app2 = Client("account2")
|
Client("account1"),
|
||||||
app3 = Client("account3")
|
Client("account2"),
|
||||||
|
Client("account3")
|
||||||
|
]
|
||||||
|
|
||||||
...
|
...
|
||||||
|
|
||||||
await compose([app1, app2, app3])
|
await compose(apps)
|
||||||
|
|
||||||
|
|
||||||
asyncio.run(main())
|
asyncio.run(main())
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue