Module ImportFrom alias Import alias ImportFrom alias identifier FunctionDef arguments args NameParam defaults body Expr Str Return IfExp NameLoad Call AttributeLoad NameLoad attr Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad TryExcept body Assign NameStore BinOpAdd Call AttributeLoad Call AttributeLoad NameLoad attr Str NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Pass Return NameLoad decorator_list
N/A __future__ absolute_import N/A re werkzeug.utils secure_filename werkzeug_secure_filename iso8601format N/A N/A dt N/A N/A N/A Given a datetime object, return an associated ISO-8601 string N/A N/A dt N/A N/A dt strftime %Y-%m-%dT%H:%M:%SZ N/A secure_filename N/A N/A filename N/A N/A N/A Return a secure version of a filename.

    Uses ``werkzeug.utils.secure_filename``, but explicitly allows for leading
    underscores.

    :param filename str: A filename to sanitize

    :return: Secure version of filename
     N/A secure N/A werkzeug_secure_filename filename N/A N/A N/A secure N/A N/A N/A N/A N/A re search ^_+ filename group secure N/A N/A N/A AttributeError N/A N/A N/A secure N/A