Module ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias identifier Import alias Import alias Import alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Num FunctionDef arguments args defaults body If AttributeLoad NameLoad attr body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Dict Str Str Str Str Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Str Return Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type TupleLoad NameLoad NameLoad body Assign NameStore Str Raise Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad Assign NameStore Dict Str Str Str Str Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore ListLoad TryExcept body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index Num For NameStore NameLoad body Assign NameStore BinOpAdd BinOpAdd BinOpAdd Str NameLoad Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body If CompareEq AttributeLoad NameLoad attr Num body Assign NameStore BinOpMod Str NameLoad Raise Call AttributeLoad NameLoad attr NameLoad orelse Raise Call AttributeLoad NameLoad attr Return NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults Str body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If CompareNotIn NameLoad TupleLoad Str Str body Raise Call NameLoad BinOpMod Str NameLoad orelse Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return SubscriptLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Str Num Index Num decorator_list FunctionDef arguments args NameParam defaults body Return SubscriptLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Str Num Index Num decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body If AttributeLoad NameLoad attr body Return If CompareEq AttributeLoad NameLoad attr Str body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad TryExcept body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad If NameLoad body For NameStore NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body If CompareEq AttributeLoad NameLoad attr Num body Assign NameStore BinOpMod Str AttributeLoad NameLoad attr Raise Call AttributeLoad NameLoad attr NameLoad orelse Raise Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body If UnaryOpNot AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Call NameLoad TryFinally body TryExcept body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body If CompareEq AttributeLoad NameLoad attr Num body Assign NameStore BinOpMod Str Call AttributeLoad NameLoad attr Raise Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore Str Raise Call AttributeLoad NameLoad attr NameLoad finalbody Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If AttributeLoad NameLoad attr body Return Call NameLoad AttributeLoad NameLoad attr NameLoad orelse Raise Call NameLoad Str AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list
N/A rackclient.lib RACK_CTX rackclient exceptions swiftclient client swift_client swiftclient exceptions swift_exc N/A json N/A logging N/A tempfile N/A LOG N/A N/A logging getLogger __name__ N/A SWIFT_PORT 8080 _get_swift_client N/A N/A N/A N/A N/A N/A RACK_CTX fs_endpoint N/A N/A N/A N/A d N/A N/A json loads N/A RACK_CTX fs_endpoint N/A credentials N/A user key tenant_name authurl auth_version N/A d N/A os_username N/A d N/A os_password N/A d N/A os_tenant_name N/A d N/A os_auth_url 2 N/A N/A N/A swift_client Connection credentials N/A N/A N/A N/A ValueError KeyError N/A N/A msg The format of fs_endpoint is invalid. N/A N/A N/A exceptions InvalidFSEndpointError msg N/A N/A authurl N/A http://%s:%d/auth/v1.0 N/A N/A RACK_CTX proxy_ip SWIFT_PORT N/A credentials N/A user key authurl rack:admin admin authurl N/A swift N/A N/A swift_client Connection credentials N/A N/A authurl token N/A N/A swift get_auth N/A N/A N/A swift_client Connection preauthurl authurl preauthtoken token N/A listdir N/A N/A directory N/A N/A N/A swift N/A _get_swift_client N/A directory N/A N/A directory strip / N/A files N/A N/A N/A N/A objects N/A N/A N/A swift get_container directory N/A 1 N/A o objects N/A N/A file_path N/A N/A N/A / directory / N/A o N/A name N/A N/A N/A files append N/A File file_path N/A N/A N/A N/A swift_exc ClientException N/A e N/A N/A N/A N/A e http_status 404 N/A N/A msg N/A Directory '%s' does not exist. directory N/A N/A N/A exceptions InvalidDirectoryError msg N/A N/A N/A N/A exceptions FileSystemAccessError N/A files N/A File N/A object N/A __init__ N/A N/A self file_path mode N/A r N/A N/A N/A self path file_path N/A N/A self file None N/A N/A mode N/A r w N/A N/A N/A ValueError N/A mode must be 'r' or 'w', not %s mode N/A N/A N/A self mode mode N/A get_name N/A N/A self N/A N/A N/A N/A N/A N/A N/A N/A N/A self path strip / split / 1 N/A 1 N/A get_directory N/A N/A self N/A N/A N/A N/A N/A N/A N/A N/A N/A self path strip / split / 1 N/A 0 N/A load N/A N/A self chunk_size N/A None N/A N/A N/A self file N/A N/A N/A N/A N/A self mode r N/A N/A N/A self file N/A N/A tempfile TemporaryFile N/A swift N/A _get_swift_client N/A N/A N/A N/A _ contents N/A N/A swift get_object N/A N/A self get_directory N/A N/A self get_name chunk_size N/A chunk_size N/A N/A c contents N/A N/A N/A N/A N/A self file write c N/A N/A N/A N/A N/A self file write contents N/A N/A N/A N/A self file flush N/A N/A N/A N/A self file seek 0 N/A N/A N/A N/A swift_exc ClientException N/A e N/A N/A N/A N/A e http_status 404 N/A N/A msg N/A File '%s' does not exist. N/A self path N/A N/A N/A exceptions InvalidFilePathError msg N/A N/A N/A N/A exceptions FileSystemAccessError N/A write N/A N/A self N/A args kwargs N/A N/A N/A N/A self file N/A N/A N/A self file N/A N/A tempfile TemporaryFile N/A N/A N/A N/A self file write args kwargs N/A close N/A N/A self N/A N/A N/A N/A N/A self mode w N/A N/A swift N/A _get_swift_client N/A N/A N/A N/A N/A N/A N/A swift put_container N/A N/A self get_directory N/A N/A N/A N/A self file seek 0 N/A N/A N/A swift put_object N/A N/A self get_directory N/A N/A self get_name N/A self file N/A N/A N/A N/A swift_exc ClientException N/A e N/A N/A N/A N/A e http_status 404 N/A N/A msg N/A Directory '%s' does not exist. The file object will be closed. N/A N/A self get_directory N/A N/A N/A exceptions InvalidDirectoryError msg N/A N/A msg Could not save the file to the file system. The file object will be closed. N/A N/A N/A exceptions FileSystemAccessError msg N/A N/A N/A N/A N/A self file close N/A N/A N/A N/A self file close N/A __getattr__ N/A N/A self name N/A N/A N/A N/A self file N/A N/A N/A getattr N/A self file name N/A N/A N/A AttributeError %s instance has no attribute '%s' N/A N/A self __class__ __name__ name N/A N/A