4. Waits for the action results to come back, then exits.
"""
-import asyncio
import logging
from juju.model import Model
async def main():
model = Model()
- await model.connect_current()
- await model.reset(force=True)
+ # connect to current model with current user, per Juju CLI
+ await model.connect()
app = await model.deploy(
'ubuntu-0',