Expand description
Contains helper functions that are passed to headless-lms-models where it needs to make requests to exercise services.
Structsยง
- Give
Peer Review Claim - Grading
Update Claim - JwtKey
- Spec
Request - Accepted by the public-spec and model-solution endpoints of exercise services.
- Upload
Claim
Constantsยง
Functionsยง
- fetch_
service_ info - make_
grading_ request_ sender - make_
seed_ spec_ fetcher_ with_ cache - A caching spec fetcher ONLY FOR THE SEED that returns a cached spec if the same (url, exercise_service_slug, private_spec) is requested. Since this is only used during seeding, there is no cache eviction.
- make_
spec_ fetcher - Fetches a public/model spec based on the private spec from the given url. The slug and jwt key are used for an upload claim that allows the service to upload files as part of the spec.
- reqwest_
err ๐
Type Aliasesยง
- Spec
Cache ๐ - A type for caching the spec fetching (only for the seed)