Skip to content

Commit fd18b11

Browse files
committed
chore: clean up the read me file
1 parent be9cdf7 commit fd18b11

1 file changed

Lines changed: 3 additions & 9 deletions

File tree

docs/readme.rst

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,6 @@ Bug reports: https://github.com/juju/python-libjuju/issues
88
Documentation: https://pythonlibjuju.readthedocs.io/en/latest/
99

1010

11-
Requirements
12-
------------
13-
14-
* Python 3.9/3.10
15-
16-
1711
Design Notes
1812
------------
1913

@@ -46,10 +40,10 @@ Note : Pylibjuju requires an already bootstrapped Juju controller to connect to.
4640
4741
#!/usr/bin/python3
4842
43+
import asyncio
4944
import logging
5045
import sys
5146
52-
from juju import jasyncio
5347
from juju.model import Model
5448
5549
@@ -71,7 +65,7 @@ Note : Pylibjuju requires an already bootstrapped Juju controller to connect to.
7165
7266
if '--wait' in sys.argv:
7367
# optionally block until the application is ready
74-
await model.wait_for_idle(status = 'active')
68+
await model.wait_for_idle(status='active')
7569
7670
finally:
7771
# Disconnect from the api server and cleanup.
@@ -87,7 +81,7 @@ Note : Pylibjuju requires an already bootstrapped Juju controller to connect to.
8781
8882
# Run the deploy coroutine in an asyncio event loop, using a helper
8983
# that abstracts loop creation and teardown.
90-
jasyncio.run(deploy())
84+
asyncio.run(deploy())
9185
9286
9387
if __name__ == '__main__':

0 commit comments

Comments
 (0)