def __init__(self, url=None, url_load_hook=None, sep=consts.private.SCOPE_SEPARATOR, prim=None, mime_codec=None):

        logger.info('init with url: {0}'.format(url))

        self.__root = None
        self.__raw = None
        self.__version = ''

        self.__op = None
        self.__m = None
        self.__schemes = []
        self.__url=url

        # a map from json-reference to
        # - spec.BaseObj
        # - a map from json-pointer to spec.BaseObj
        self.__objs = {}
        self.__resolver = SwaggerResolver(url_load_hook)
        # keep a string reference to SwaggerApp when resolve
        self.__strong_refs = []

        # allow init App-wised SCOPE_SEPARATOR
        self.__sep = sep

        # init a default SwaggerPrimitive as factory for primitives
        self.__prim = prim if prim else SwaggerPrimitive()

        # MIME codec
        self.__mime_codec = mime_codec or MimeCodec()
Resets an attribute of an instance to its default value.
dataset/ETHPy150Open mission-liao/pyswagger/pyswagger/core.py/SwaggerApp.__init__--crossover with--dataset/ETHPy150Open darcyliu/storyboard/boto/ec2/connection.py/EC2Connection.reset_instance_attribute