autograder.api.system.stacks
Get stack traces for all the currently running routines (threads) on the server.
1""" 2Get stack traces for all the currently running routines (threads) on the server. 3""" 4 5import typing 6 7import autograder.api.common 8import autograder.api.config 9import autograder.model.config 10 11API_ENDPOINT: str = 'system/stacks' 12API_WRITE: bool = False 13API_PARAMS: typing.List[autograder.api.config.APIParam] = [ 14 autograder.api.config.PARAM_SERVER, 15 autograder.api.config.PARAM_USER_EMAIL, 16 autograder.api.config.PARAM_USER_PASS, 17] 18 19def send(config: autograder.model.config.Config, **kwargs: typing.Any) -> typing.Dict[str, typing.Any]: 20 """ Send a request to the autograder. """ 21 22 return autograder.api.common.make_api_request(API_ENDPOINT, config, API_PARAMS, write = API_WRITE, **kwargs)
API_ENDPOINT: str =
'system/stacks'
API_WRITE: bool =
False
API_PARAMS: List[autograder.api.config.APIParam] =
[<autograder.api.config.APIParam object>, <autograder.api.config.APIParam object>, <autograder.api.config.APIParam object>]
20def send(config: autograder.model.config.Config, **kwargs: typing.Any) -> typing.Dict[str, typing.Any]: 21 """ Send a request to the autograder. """ 22 23 return autograder.api.common.make_api_request(API_ENDPOINT, config, API_PARAMS, write = API_WRITE, **kwargs)
Send a request to the autograder.