import logging
import yaml
import json

logging.basicConfig(level=logging.DEBUG)
log = logging.getLogger('HotResource')


class HotResource(object):
    """ Representation of a Resource in HOT template
        for the purpose we consider just some fields
    """
    def __init__(self, name, type, properties, depends_on=None):
        #self.name = name
        self.type = str(type)
        self.properties = properties or {}
        if depends_on:
            self.depends_on = depends_on

    def get_type(self):
        return self.type

    def set_depends_on(self, depends_on):
        self.depends_on = depends_on

    def yaml(self):
        return yaml.dump(self.__dict__, None, encoding='utf-8', allow_unicode=False, width=float("inf"))
c8e30cff926976c4f7620402dc8cef1eae853b83
<mask token>


class HotResource(object):
    <mask token>

    def __init__(self, name, type, properties, depends_on=None):
        self.type = str(type)
        self.properties = properties or {}
        if depends_on:
            self.depends_on = depends_on

    def get_type(self):
        return self.type

    def set_depends_on(self, depends_on):
        self.depends_on = depends_on

    def yaml(self):
        return yaml.dump(self.__dict__, None, encoding='utf-8',
            allow_unicode=False, width=float('inf'))

<mask token>


class HotResource(object):
    """ Representation of a Resource in HOT template
        for the purpose we consider just some fields
    """

    def __init__(self, name, type, properties, depends_on=None):
        self.type = str(type)
        self.properties = properties or {}
        if depends_on:
            self.depends_on = depends_on

    def get_type(self):
        return self.type

    def set_depends_on(self, depends_on):
        self.depends_on = depends_on

    def yaml(self):
        return yaml.dump(self.__dict__, None, encoding='utf-8',
            allow_unicode=False, width=float('inf'))

<mask token>
logging.basicConfig(level=logging.DEBUG)
<mask token>


class HotResource(object):
    """ Representation of a Resource in HOT template
        for the purpose we consider just some fields
    """

    def __init__(self, name, type, properties, depends_on=None):
        self.type = str(type)
        self.properties = properties or {}
        if depends_on:
            self.depends_on = depends_on

    def get_type(self):
        return self.type

    def set_depends_on(self, depends_on):
        self.depends_on = depends_on

    def yaml(self):
        return yaml.dump(self.__dict__, None, encoding='utf-8',
            allow_unicode=False, width=float('inf'))

<mask token>
logging.basicConfig(level=logging.DEBUG)
log = logging.getLogger('HotResource')


class HotResource(object):
    """ Representation of a Resource in HOT template
        for the purpose we consider just some fields
    """

    def __init__(self, name, type, properties, depends_on=None):
        self.type = str(type)
        self.properties = properties or {}
        if depends_on:
            self.depends_on = depends_on

    def get_type(self):
        return self.type

    def set_depends_on(self, depends_on):
        self.depends_on = depends_on

    def yaml(self):
        return yaml.dump(self.__dict__, None, encoding='utf-8',
            allow_unicode=False, width=float('inf'))

import logging
import yaml
import json

logging.basicConfig(level=logging.DEBUG)
log = logging.getLogger('HotResource')


class HotResource(object):
    """ Representation of a Resource in HOT template
        for the purpose we consider just some fields
    """
    def __init__(self, name, type, properties, depends_on=None):
        #self.name = name
        self.type = str(type)
        self.properties = properties or {}
        if depends_on:
            self.depends_on = depends_on

    def get_type(self):
        return self.type

    def set_depends_on(self, depends_on):
        self.depends_on = depends_on

    def yaml(self):
        return yaml.dump(self.__dict__, None, encoding='utf-8', allow_unicode=False, width=float("inf"))