juju.placement

Summary

parse
Given a string in the format scope:directive, or simply scope or directive, return a Placement object suitable for passing back over the websocket API.

Reference

juju.placement.parse(directive)[source]

Given a string in the format scope:directive, or simply scope or directive, return a Placement object suitable for passing back over the websocket API.