Module Expr Str Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str If Call AttributeLoad AttributeLoad NameLoad attr attr Str body AugAssignAdd NameStore Str FunctionDef arguments args NameParam defaults body TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler body Pass decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Dict Str Str Str NameLoad AttributeLoad AttributeLoad NameLoad attr attr Str If CompareIn Str AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str If CompareIn Str AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str Return NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Dict Str Str Str Str Str Str For NameStore Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str body If CompareNotIn Str NameLoad body Continue Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Num Index Num If CompareIn NameLoad NameLoad body Return SubscriptLoad NameLoad Index NameLoad If UnaryOpNot NameLoad body Raise Call NameLoad BinOpMod Str NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore BinOpAdd Str Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore ListLoad NameLoad Str AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Str Str Str Str SubscriptLoad AttributeLoad NameLoad attr Index Str Str NameLoad Str Str AttributeLoad NameLoad attr If CompareIn Str AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr ListLoad Str SubscriptLoad AttributeLoad NameLoad attr Index Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Dict For TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr body For NameStore NameLoad body If UnaryOpNot Call AttributeLoad NameLoad attr Str body Continue Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr If Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad body Continue If Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad body Continue TryExcept body Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad handlers ExceptHandler type NameLoad name NameStore body If CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword Dict Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad Call AttributeLoad Str attr NameLoad orelse Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assert AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword Dict Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Call AttributeLoad Str attr NameLoad orelse Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Raise Call NameLoad Str If BoolOpAnd AttributeLoad NameLoad attr UnaryOpNot NameLoad body Return Assign TupleStore AttributeStore NameLoad attr NameStore TupleLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If UnaryOpNot AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str AttributeLoad AttributeLoad NameLoad attr attr Assign TupleStore AttributeStore NameLoad attr NameStore TupleLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If BoolOpAnd AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr NameLoad CompareEq AttributeLoad NameLoad attr NameLoad body Return If CompareNotEq AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Str orelse If CompareNotEq AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Str orelse Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A An abstraction around the source and executable for a Go application. N/A atexit N/A errno N/A logging N/A os N/A os.path N/A shutil N/A sys N/A subprocess N/A tempfile N/A google google.appengine.tools.devappserver2 errors google.appengine.tools.devappserver2 safe_subprocess N/A _SDKROOT N/A N/A N/A os path dirname N/A N/A N/A os path dirname N/A google __file__ N/A _GOROOT N/A N/A N/A os path join _SDKROOT goroot N/A _GAB_PATH N/A N/A N/A os path join _GOROOT bin go-app-builder N/A N/A N/A N/A sys platform startswith win N/A N/A _GAB_PATH .exe _rmtree N/A N/A directory N/A N/A N/A N/A N/A N/A N/A shutil rmtree directory N/A N/A N/A N/A N/A BuildError N/A N/A errors Error N/A N/A Building the GoApplication failed. N/A GoApplication N/A object N/A N/A An abstraction around the source and executable for a Go application. __init__ N/A N/A self server_configuration N/A N/A N/A Initializer for Server.

    Args:
      server_configuration: An application_configuration.ServerConfiguration
          instance storing the configuration data for a server.
     N/A N/A self _server_configuration server_configuration N/A N/A self _go_file_to_mtime N/A N/A N/A self _extras_hash None N/A N/A self _go_executable None N/A N/A self _work_dir None N/A N/A self _arch N/A N/A self _get_architecture N/A go_executable N/A N/A self N/A N/A N/A The path to the Go executable. None if it has not been built. N/A N/A self _go_executable N/A property get_environment N/A N/A self N/A N/A N/A Return the environment that used be used to run the Go executable. N/A environ N/A GOROOT PWD TZ _GOROOT N/A N/A self _server_configuration application_root UTC N/A N/A SYSTEMROOT N/A os environ N/A N/A N/A environ N/A SYSTEMROOT N/A N/A os environ N/A SYSTEMROOT N/A N/A USER N/A os environ N/A N/A N/A environ N/A USER N/A N/A os environ N/A USER N/A environ N/A _get_architecture N/A N/A N/A N/A N/A architecture_map N/A arm amd64 386 5 6 8 N/A platform N/A N/A os listdir N/A N/A N/A os path join _GOROOT pkg tool N/A N/A N/A _ platform N/A N/A N/A architecture N/A N/A N/A platform split _ 1 N/A 1 N/A N/A architecture architecture_map N/A N/A N/A architecture_map N/A architecture N/A N/A architecture N/A N/A N/A BuildError N/A no compiler found found in goroot (%s) _GOROOT N/A staticmethod _get_gab_args N/A N/A self N/A N/A N/A nobuild_files N/A ^ N/A str N/A N/A self _server_configuration nobuild_files N/A gab_args N/A _GAB_PATH -app_base N/A N/A self _server_configuration application_root -arch N/A self _arch -binary_name _go_app -dynamic -goroot N/A N/A os environ N/A GOROOT -nobuild_files nobuild_files -unsafe -work_dir N/A self _work_dir N/A N/A GOPATH N/A os environ N/A N/A N/A N/A gab_args extend N/A -gopath N/A N/A os environ N/A GOPATH N/A gab_args N/A _get_go_files_to_mtime N/A N/A self N/A N/A N/A Returns a dict mapping all Go files to their mtimes.

    Returns:
      A dict mapping the path relative to the application root of every .go
      file in the application root, or any of its subdirectories, to the file's
      modification time.
     N/A go_file_to_mtime N/A N/A N/A root _ file_names N/A N/A os walk N/A N/A self _server_configuration application_root N/A N/A file_name file_names N/A N/A N/A N/A N/A file_name endswith .go N/A N/A N/A full_path N/A N/A N/A os path join root file_name N/A rel_path N/A N/A N/A os path relpath full_path N/A N/A self _server_configuration application_root N/A N/A N/A N/A N/A self _server_configuration skip_files match rel_path N/A N/A N/A N/A N/A N/A N/A self _server_configuration nobuild_files match rel_path N/A N/A N/A N/A N/A N/A go_file_to_mtime N/A rel_path N/A N/A N/A os path getmtime full_path N/A N/A N/A OSError N/A e N/A N/A N/A N/A e errno N/A errno ENOENT N/A N/A N/A go_file_to_mtime N/A _get_extras_hash N/A N/A self N/A N/A N/A Returns a hash of the names and mtimes of package dependencies.

    Returns:
      Returns a string representing a hash.

    Raises:
      BuildError: if the go application builder fails.
     N/A gab_args N/A N/A self _get_gab_args N/A N/A N/A gab_args append -print_extras_hash N/A N/A N/A gab_args extend N/A self _go_file_to_mtime N/A gab_process N/A N/A safe_subprocess start_process gab_args stdout N/A subprocess PIPE stderr N/A subprocess PIPE env N/A N/A N/A gab_stdout gab_stderr N/A N/A gab_process communicate N/A N/A gab_process returncode N/A N/A N/A BuildError N/A %s

(Executed command: %s) N/A gab_stderr N/A N/A join gab_args N/A N/A gab_stdout N/A _build N/A N/A self N/A N/A N/A N/A self _go_file_to_mtime no .go files N/A N/A N/A logging debug Building Go application N/A gab_args N/A N/A self _get_gab_args N/A N/A N/A gab_args extend N/A self _go_file_to_mtime N/A gab_process N/A N/A safe_subprocess start_process gab_args stdout N/A subprocess PIPE stderr N/A subprocess PIPE env N/A N/A N/A gab_stdout gab_stderr N/A N/A gab_process communicate N/A N/A gab_process returncode N/A N/A N/A BuildError N/A %s
%s

(Executed command: %s) N/A gab_stdout gab_stderr N/A N/A join gab_args N/A N/A N/A N/A logging debug Build succeeded:
%s
%s gab_stdout gab_stderr N/A N/A self _go_executable N/A N/A N/A os path join N/A self _work_dir _go_app N/A maybe_build N/A N/A self maybe_modified_since_last_build N/A N/A N/A Builds an executable for the application if necessary.

    Args:
      maybe_modified_since_last_build: True if any files in the application root
          or the GOPATH have changed since the last call to maybe_build, False
          otherwise. This argument is used to decide whether a build is Required
          or not.

    Raises:
      BuildError: if building the executable fails for any reason.
     N/A N/A N/A self _work_dir N/A N/A N/A self _work_dir N/A N/A tempfile mkdtemp appengine-go-bin N/A N/A N/A atexit register _rmtree N/A self _work_dir N/A N/A N/A N/A N/A os path exists _GAB_PATH N/A N/A N/A BuildError Required Go components are missing from the SDK. N/A N/A N/A self _go_executable N/A maybe_modified_since_last_build N/A N/A N/A N/A N/A self _go_file_to_mtime old_go_file_to_mtime N/A N/A N/A self _get_go_files_to_mtime N/A self _go_file_to_mtime N/A N/A N/A self _go_file_to_mtime N/A N/A N/A BuildError N/A no .go files found in %s N/A N/A self _server_configuration application_root N/A N/A N/A self _extras_hash old_extras_hash N/A N/A N/A self _get_extras_hash N/A self _extras_hash N/A N/A N/A self _go_executable N/A N/A self _go_file_to_mtime old_go_file_to_mtime N/A N/A self _extras_hash old_extras_hash N/A N/A N/A N/A N/A self _go_file_to_mtime old_go_file_to_mtime N/A N/A N/A N/A logging debug Rebuilding Go application due to source modification N/A N/A N/A N/A self _extras_hash old_extras_hash N/A N/A N/A N/A logging debug Rebuilding Go application due to GOPATH modification N/A N/A N/A N/A logging debug Building Go application N/A N/A N/A self _build N/A N/A