autograder.api.users.password.reset
Request a password reset.
1""" 2Request a password reset. 3""" 4 5import typing 6 7import autograder.api.common 8import autograder.api.config 9import autograder.model.config 10 11API_ENDPOINT: str = 'users/password/reset' 12API_WRITE: bool = True 13API_PARAMS: typing.List[autograder.api.config.APIParam] = [ 14 autograder.api.config.PARAM_SERVER, 15 autograder.api.config.PARAM_USER_EMAIL, 16] 17 18def send(config: autograder.model.config.Config, **kwargs: typing.Any) -> typing.Dict[str, typing.Any]: 19 """ Send a request to the autograder. """ 20 21 return autograder.api.common.make_api_request(API_ENDPOINT, config, API_PARAMS, write = API_WRITE, **kwargs)
API_ENDPOINT: str =
'users/password/reset'
API_WRITE: bool =
True
API_PARAMS: List[autograder.api.config.APIParam] =
[<autograder.api.config.APIParam object>, <autograder.api.config.APIParam object>]
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)
Send a request to the autograder.