Module Import alias Import alias Import alias Import alias Import alias Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Str Assign NameStore Dict Assign SubscriptStore NameLoad Index Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore Call NameLoad NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Str keyword NameLoad keyword NameLoad If CompareNotEq AttributeLoad NameLoad attr Num body Print Str Expr Call AttributeLoad NameLoad attr NameLoad Return Num orelse Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr attr Str Assign NameStore SubscriptLoad NameLoad Index Str Print BinOpAdd Str Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Str Assign NameStore Dict Str Str Str Str Assign NameStore BinOpAdd Str Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str keyword NameLoad If CompareNotEq AttributeLoad NameLoad attr Num body Print Str Expr Call AttributeLoad NameLoad attr NameLoad Return Num orelse Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr attr Str Assign NameStore SubscriptLoad NameLoad Index Str Print Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Str Assign NameStore BinOpAdd Str Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str If CompareNotEq AttributeLoad NameLoad attr Num body Print Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Str orelse Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr attr Str Assign NameStore SubscriptLoad NameLoad Index Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Str Assign NameStore BinOpAdd Str Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str If CompareEq AttributeLoad NameLoad attr Num body Print Str orelse Print Str decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad If CompareNotEq NameLoad Num body Assign NameStore Call NameLoad NameLoad If CompareNotEq NameLoad Num body Assign NameStore Str Assign NameStore Num While BoolOpAnd BoolOpOr CompareEq NameLoad Str CompareEq NameLoad Str CompareGt NameLoad Num body Assign NameStore Call NameLoad NameLoad Print BinOpAdd Str NameLoad Assign NameStore BinOpSub NameLoad Num If BoolOpAnd BoolOpOr CompareEq NameLoad Str CompareEq NameLoad Str CompareEq NameLoad Num body Print Str Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Num If CompareEq NameLoad Str body Expr Call NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr Num orelse Expr Call AttributeLoad NameLoad attr Num decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A N/A json N/A os N/A sys N/A time N/A importlib N/A N/A N/A N/A sys path append N/A N/A N/A os path realpath ../modules N/A client_module N/A N/A importlib import_module RestApiClient N/A SampleUtilities N/A N/A importlib import_module SampleUtilities upload_extension N/A N/A N/A N/A N/A client N/A N/A client_module RestApiClient version 5.0 N/A request_header N/A N/A N/A request_header N/A Content-Type application/zip N/A cwd N/A N/A N/A os path dirname N/A N/A N/A os path realpath __file__ N/A app_zip_file_path N/A N/A N/A os path join cwd ExtensionPackageTest.zip N/A app_zip_file N/A open app_zip_file_path rb N/A data N/A N/A app_zip_file read N/A response N/A N/A client call_api config/extension_management/extensions POST headers request_header data data N/A N/A N/A response code 201 N/A N/A Failed to upload the extension package. N/A N/A N/A SampleUtilities pretty_print_response response N/A -1 N/A N/A response_body N/A N/A json loads N/A N/A N/A N/A response read decode utf-8 N/A extension_id N/A response_body N/A id N/A N/A The extension has been uploaded with id =  N/A str extension_id N/A extension_id N/A install_extension N/A N/A extension_id N/A N/A N/A client N/A N/A client_module RestApiClient version 5.0 N/A params N/A action_type overwrite INSTALL true N/A url N/A config/extension_management/extensions/ N/A str extension_id N/A response N/A N/A client call_api url POST params params N/A N/A N/A response code 202 N/A N/A Failed to start installing task. N/A N/A N/A SampleUtilities pretty_print_response response N/A -1 N/A N/A response_body N/A N/A json loads N/A N/A N/A N/A response read decode utf-8 N/A status_id N/A response_body N/A status_id N/A The extension installing task has been started. N/A status_id N/A check_install_status N/A N/A status_id N/A N/A N/A client N/A N/A client_module RestApiClient version 5.0 N/A url N/A config/extension_management/extensions_task_status/ N/A str status_id N/A response N/A N/A client call_api url GET N/A N/A N/A response code 200 N/A N/A Failed to check installing task status. N/A N/A N/A SampleUtilities pretty_print_response response N/A status FAILED N/A N/A response_body N/A N/A json loads N/A N/A N/A N/A response read decode utf-8 N/A status N/A response_body N/A status N/A status N/A delete_installed_extension N/A N/A extension_id N/A N/A N/A client N/A N/A client_module RestApiClient version 5.0 N/A url N/A config/extension_management/extensions/ N/A str extension_id N/A response N/A N/A client call_api url DELETE N/A N/A N/A response code 202 N/A N/A The extension has been deleted. N/A N/A Failed to delete the extension. N/A main N/A N/A N/A N/A N/A extension_id N/A upload_extension N/A N/A extension_id -1 N/A N/A status_id N/A install_extension extension_id N/A N/A status_id -1 N/A N/A status PROCESSING N/A count 60 N/A N/A N/A N/A status PROCESSING N/A status QUEUED N/A count 0 N/A N/A status N/A check_install_status status_id N/A N/A Installing status:  status N/A count N/A count 1 N/A N/A N/A N/A status PROCESSING N/A status QUEUED N/A count 0 N/A N/A Installing process timed out. N/A N/A N/A sys exit 1 N/A N/A N/A time sleep 5 N/A N/A status COMPLETED N/A N/A N/A delete_installed_extension extension_id N/A N/A N/A N/A sys exit 1 N/A N/A N/A N/A sys exit 1 N/A N/A N/A __name__ __main__ N/A N/A N/A main