CreateQuestionSetVersionRequest
¶
Source code in docs_src/capo_elementalinference/types/create_question_set_version_request.py
description
instance-attribute
¶
description: NotRequired[QuestionSetVersionDescription]
A description of the new version. You can't change the description after Elemental Inference publishes the version. If DRAFT hasn't changed since the latest version, Elemental Inference ignores this value and returns the latest version with its existing description.
The description can be up to 256 characters. It can contain the letters A-Z and a-z, the digits 0-9, underscores, spaces, and the following characters: - . ' , @ : ;.
id
instance-attribute
¶
id: QuestionSetId
The ID of the question set whose DRAFT version you want to publish.
sha256
instance-attribute
¶
sha256: NotRequired[QuestionSetSha256]
The SHA-256 hash of the DRAFT version that you want to publish, as returned by GetQuestionSet or UpdateQuestionSet. If you specify this value, Elemental Inference publishes DRAFT only if its current hash matches. If it doesn't match, because DRAFT changed after you retrieved it, the request fails with ConflictException.
If you don't specify this value, Elemental Inference publishes DRAFT as it is when it receives the request.