<s> """<STR_LIT>""" <EOL> from __future__ import absolute_import , print_function <EOL> import re <EOL> import pkg_resources <EOL> __flask_restaction__ = pkg_resources . get_distribution ( "<STR_LIT>" ) <EOL> __version__ = __flask_restaction__ . version <EOL> import logging <EOL> LOG_FORMAT = '<STR_LIT>' <EOL> logger = logging . getLogger ( __name__ ) <EOL> ch = logging . StreamHandler ( ) <EOL> ch . setFormatter ( logging . Formatter ( LOG_FORMAT ) ) <EOL> ch . setLevel ( logging . WARNING ) <EOL> logger . addHandler ( ch ) <EOL> pattern_action = re . compile ( <EOL> r'<STR_LIT>' ) <EOL> pattern_endpoint = re . compile ( r"<STR_LIT>" ) <EOL> def unpack ( rv ) : <EOL> """<STR_LIT>""" <EOL> status = headers = None <EOL> if isinstance ( rv , tuple ) : <EOL> rv , status , headers = rv + ( None , ) * ( <NUM_LIT:3> - len ( rv ) ) <EOL> if isinstance ( status , ( dict , list ) ) : <EOL> headers , status = status , headers <EOL> if status is None : <EOL> status = <NUM_LIT:200> <EOL> return ( rv , status , headers ) <EOL> from . exporters import exporters , exporter <EOL> from . resource import Resource <EOL> from . api import Api <EOL> from . permission import Permission <EOL> from . apiinfo import ApiInfo , Gen <EOL> from . auth import Auth <EOL> from . res import Res <EOL> __all__ = [ "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" , <EOL> "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" ] </s>
