# Path: conjureup/consts.py
# class spell_types:
#     JUJU = 'juju'
#     SNAP = 'snap'


from collections import Mapping
from itertools import chain
from conjureup.consts import spell_types
import yaml
    def confinement(self, val):
        """ Set confinement value
        """
        self._confinement = val

    @property
    def channel(self):
        """ Set/Get snap channel
        """
        return self._channel

    @channel.setter
    def channel(self, val):
        self._channel = val

    @property
    def options(self):
        """ Set/Get application options
        """
        return self._options

    @options.setter
    def options(self, val):
        self._options.update(val)

    def to_dict(self):
        return self


class Bundle(dict):

# Path: conjureup/consts.py
# class spell_types:
#     JUJU = 'juju'
#     SNAP = 'snap'


# Path: conjureup/bundle.py
from collections import Mapping
from itertools import chain
from conjureup.consts import spell_types
import yaml

    def confinement(self, val):
        """ Set confinement value
        """
        self._confinement = val

    @property
    def channel(self):
        """ Set/Get snap channel
        """
        return self._channel

    @channel.setter
    def channel(self, val):
        self._channel = val

    @property
    def options(self):
        """ Set/Get application options
        """
        return self._options

    @options.setter
    def options(self, val):
        self._options.update(val)

    def to_dict(self):
        return self


class Bundle(dict):

    def __init__(self, bundle, spell_type=spell_types.JUJU):