Module Expr Str Import alias Import alias ImportFrom alias ImportFrom alias alias ImportFrom alias Assign NameStore Call NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore Dict If BoolOpAnd NameLoad UnaryOpNot NameLoad body Assign NameStore Str orelse If UnaryOpNot NameLoad body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad Assign AttributeStore NameLoad attr Lambda arguments args defaults Call AttributeLoad NameLoad attr TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Pass Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Return TupleLoad NameLoad NameLoad decorator_list ClassDef bases NameLoad body Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Str keyword NameLoad Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Str FunctionDef arguments args NameParam defaults body Assign NameStore BinOpMod Str AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Assign NameStore Dict Assign SubscriptStore NameLoad Index Str BinOpMod Str NameLoad Return Call NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareIs AttributeLoad NameLoad attr NameLoad body Assign NameStore BinOpMod Str AttributeLoad NameLoad attr orelse Assign NameStore AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr Return Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore BinOpMod Str AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad Assign NameStore Dict Str Str Assign NameStore AttributeLoad NameLoad attr If Call NameLoad NameLoad NameLoad body Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr attr Assign SubscriptStore NameLoad Index Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Str NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list
N/A N/A 
    flask_storage.upyun
    ~~~~~~~~~~~~~~~~~~~

    Upyun storage, upload files to upyun.

    :copyright: (c) 2013 Hsiaoming Yang.
 N/A os N/A base64 _base BaseStorage _compat http urljoin _utils ConfigItem N/A _missing N/A object http_request N/A N/A uri headers data method N/A None None None N/A N/A N/A headers None N/A N/A headers N/A N/A N/A data N/A method N/A N/A method POST N/A N/A N/A method N/A N/A method GET N/A req N/A N/A http Request uri headers headers data data N/A N/A req get_method N/A N/A N/A N/A N/A N/A method upper N/A N/A N/A resp N/A N/A http urlopen req N/A N/A N/A N/A http HTTPError N/A resp N/A N/A N/A content N/A N/A resp read N/A N/A N/A resp close N/A N/A resp content N/A UpyunStorage N/A BaseStorage N/A N/A bucket N/A ConfigItem bucket N/A base_dir N/A ConfigItem base_dir N/A base_url N/A ConfigItem base_url default _missing N/A username N/A ConfigItem username N/A password N/A ConfigItem password root N/A N/A self N/A N/A N/A uri N/A http://v0.api.upyun.com/%s/ N/A self bucket N/A N/A self base_dir N/A N/A uri N/A urljoin uri N/A self base_dir N/A uri N/A property request N/A N/A self uri data method headers N/A None None None N/A N/A Make a request for upyun api.

        You rarely need this API, use save instead.
         N/A auth N/A N/A base64 b64encode N/A %s:%s N/A N/A self username N/A self password N/A N/A headers N/A N/A headers N/A N/A N/A headers N/A Authorization N/A Basic %s auth N/A N/A http_request uri headers headers data data method method N/A url N/A N/A self filename N/A N/A N/A Generate the url for a filename.

        :param filename: Name of the file.
         N/A N/A N/A self base_url _missing N/A N/A base_url N/A http://%s.b0.upaiyun.com/ N/A self bucket N/A N/A base_url N/A self base_url N/A N/A self base_dir N/A N/A urlbase N/A urljoin base_url N/A self base_dir N/A N/A urljoin urlbase filename N/A usage N/A N/A self N/A N/A N/A Find the usage of your bucket.

        This function returns an integer.
         N/A uri N/A %s?usage N/A self root N/A N/A resp content N/A N/A self request uri N/A content N/A save N/A N/A self storage filename N/A N/A N/A Save a storage (`werkzeug.FileStorage`) with the specified
        filename.

        :param storage: The storage to be saved.
        :param filename: The filename you want to save as.
         N/A N/A N/A self check storage N/A uri N/A urljoin N/A self root filename N/A headers N/A Mkdir true N/A stream N/A storage stream N/A N/A isinstance stream file N/A N/A length N/A N/A N/A os fstat N/A N/A stream fileno st_size N/A N/A headers N/A Content-Length length N/A N/A N/A self request uri stream PUT headers N/A N/A N/A self url filename N/A N/A