autograder.api.courses.lms.scores.upload
Perform a full scoring and upload scores to the course's LMS.
1""" 2Perform a full scoring and upload scores to the course's LMS. 3""" 4 5import typing 6 7import autograder.api.common 8import autograder.api.config 9import autograder.model.config 10 11API_ENDPOINT: str = 'courses/lms/scores/upload' 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 autograder.api.config.PARAM_USER_PASS, 17 18 autograder.api.config.PARAM_COURSE, 19 20 autograder.api.config.PARAM_DRY_RUN, 21] 22 23def send(config: autograder.model.config.Config, **kwargs: typing.Any) -> typing.Dict[str, typing.Any]: 24 """ Send a request to the autograder. """ 25 26 return autograder.api.common.make_api_request(API_ENDPOINT, config, API_PARAMS, write = API_WRITE, **kwargs)
API_ENDPOINT: str =
'courses/lms/scores/upload'
API_WRITE: bool =
True
API_PARAMS: List[autograder.api.config.APIParam] =
[<autograder.api.config.APIParam object>, <autograder.api.config.APIParam object>, <autograder.api.config.APIParam object>, <autograder.api.config.APIParam object>, <autograder.api.config.APIParam object>]
24def send(config: autograder.model.config.Config, **kwargs: typing.Any) -> typing.Dict[str, typing.Any]: 25 """ Send a request to the autograder. """ 26 27 return autograder.api.common.make_api_request(API_ENDPOINT, config, API_PARAMS, write = API_WRITE, **kwargs)
Send a request to the autograder.