from schematics.types import BaseType
from schematics.transforms import blacklist
from . import MockableDictType as DictType
from .models import Model


class DebuggableModel(Model):
    """Model that has a 'debug' field and a 'debug' role which allows it to be
    displayed.
    """
    debug = DictType(BaseType, default={})


    class Options:
        roles = {'default': blacklist('debug'), 'debug': blacklist()}

023ca315fce12e6a1f1ab7253a2c4769a22327f3
<mask token>


class DebuggableModel(Model):
    <mask token>
    <mask token>


    class Options:
        roles = {'default': blacklist('debug'), 'debug': blacklist()}

<mask token>


class DebuggableModel(Model):
    <mask token>
    debug = DictType(BaseType, default={})


    class Options:
        roles = {'default': blacklist('debug'), 'debug': blacklist()}

<mask token>


class DebuggableModel(Model):
    """Model that has a 'debug' field and a 'debug' role which allows it to be
    displayed.
    """
    debug = DictType(BaseType, default={})


    class Options:
        roles = {'default': blacklist('debug'), 'debug': blacklist()}

from schematics.types import BaseType
from schematics.transforms import blacklist
from . import MockableDictType as DictType
from .models import Model


class DebuggableModel(Model):
    """Model that has a 'debug' field and a 'debug' role which allows it to be
    displayed.
    """
    debug = DictType(BaseType, default={})


    class Options:
        roles = {'default': blacklist('debug'), 'debug': blacklist()}
