human
Complete this python program:
def get_modules():
assistant
#Here is the Python code you requested.

    """Returns a list of all modules for the application.
    Returns:
    List of strings containing the names of modules associated with this
    application.  The \default\ module will be included if it exists, as will
    the name of the module that is associated with the instance that calls
    this function.
    """
    def _ResultHook(rpc):
        _CheckAsyncResult(rpc, [], {})
        return list(rpc.response.module_list())
    request = modules_service_pb.GetModulesRequest()
    response = modules_service_pb.GetModulesResponse()
    return _MakeAsyncCall('GetModules', request, response, _ResultHook).get_result()