def __init__(self, path=None, app=None, **defaults):
self.path = compat.fsdecode(path) if path else None<EOL>self.app = current_app if app is None else app<EOL>self.__dict__.update(defaults)<EOL>
:param path: local path
:type path: str
:param path: optional app instance
:type path: flask.app
:param **defaults: attributes will be set to object