Skip to content

Commit

Permalink
Merge pull request #1225 from dimaqq/chore-readme-cleanup
Browse files Browse the repository at this point in the history
#1225

Specifically, the note on Python version was incorrect.
  • Loading branch information
jujubot authored Nov 28, 2024
2 parents be9cdf7 + fd18b11 commit f87b50c
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 f87b50c

Please sign in to comment.