mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-02 13:34:51 +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():
|
||||
app1 = Client("account1")
|
||||
app2 = Client("account2")
|
||||
app3 = Client("account3")
|
||||
apps = [
|
||||
Client("account1"),
|
||||
Client("account2"),
|
||||
Client("account3")
|
||||
]
|
||||
|
||||
...
|
||||
|
||||
await compose([app1, app2, app3])
|
||||
await compose(apps)
|
||||
|
||||
|
||||
asyncio.run(main())
|
||||
|
|
|
|||
Loading…
Reference in a new issue