X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=docs%2Fnarrative%2Fapplication.rst;h=01d5bc0d2d3cf22debe8f73f78c467b1699c94eb;hb=19077c2754a4296a87a80679e876e67cfed57c5c;hp=630ce857e0ab35bde1e3f62afe2563a61125b2fa;hpb=63a8dfb2e67f469614dc4856405f5969d56b57e8;p=osm%2FN2VC.git diff --git a/docs/narrative/application.rst b/docs/narrative/application.rst index 630ce85..01d5bc0 100644 --- a/docs/narrative/application.rst +++ b/docs/narrative/application.rst @@ -1,5 +1,6 @@ Applications ============ +For api docs, see :class:`juju.application.Application`. Deploying @@ -39,14 +40,14 @@ added units (:class:`~juju.unit.Unit` objects) is returned. .. code:: python - ubuntu_app = await model.deploy( - 'ubuntu', - application_name='ubuntu', - series='trusty', - channel='stable', - ) + ubuntu_app = await model.deploy( + 'ubuntu', + application_name='ubuntu', + series='trusty', + channel='stable', + ) - unit_a, unit_b = await ubuntu_app.add_units(count=2) + unit_a, unit_b = await ubuntu_app.add_units(count=2) Updating Config and Constraints