juju.constraints

Summary

normalize_key
 
normalize_value
 
parse
Constraints must be expressed as a string containing only spaces and key value pairs joined by an ‘=’.

Reference

juju.constraints.normalize_key(key)[source]
juju.constraints.normalize_value(value)[source]
juju.constraints.parse(constraints)[source]

Constraints must be expressed as a string containing only spaces and key value pairs joined by an ‘=’.