Skip to content

Commit

Permalink
chore: clean up the read me file
Browse files Browse the repository at this point in the history
  • Loading branch information
dimaqq committed Nov 28, 2024
1 parent be9cdf7 commit fd18b11
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions docs/readme.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,6 @@ Bug reports: https://github.com/juju/python-libjuju/issues
Documentation: https://pythonlibjuju.readthedocs.io/en/latest/


Requirements
------------

* Python 3.9/3.10


Design Notes
------------

Expand Down Expand Up @@ -46,10 +40,10 @@ Note : Pylibjuju requires an already bootstrapped Juju controller to connect to.
#!/usr/bin/python3
import asyncio
import logging
import sys
from juju import jasyncio
from juju.model import Model
Expand All @@ -71,7 +65,7 @@ Note : Pylibjuju requires an already bootstrapped Juju controller to connect to.
if '--wait' in sys.argv:
# optionally block until the application is ready
await model.wait_for_idle(status = 'active')
await model.wait_for_idle(status='active')
finally:
# Disconnect from the api server and cleanup.
Expand All @@ -87,7 +81,7 @@ Note : Pylibjuju requires an already bootstrapped Juju controller to connect to.
# Run the deploy coroutine in an asyncio event loop, using a helper
# that abstracts loop creation and teardown.
jasyncio.run(deploy())
asyncio.run(deploy())
if __name__ == '__main__':
Expand Down

0 comments on commit fd18b11

Please sign in to comment.