-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[feature/PI-563-read_a_questionnaire] read questionnaire #364
base: main
Are you sure you want to change the base?
Conversation
30b731b
to
34377c8
Compare
Quality Gate passedIssues Measures |
return repo.read(name=path_params.questionnaire_id) | ||
|
||
|
||
def questionnaire_to_dict(data, cache) -> dict: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tuple[HttpStatus, dict]
|
||
def questionnaire_to_dict(data, cache) -> dict: | ||
questionnaire: Questionnaire = data[read_questionnaire] | ||
return questionnaire.state() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
HttpStatus.OK, questionnaire.state()
34377c8
to
2e782f5
Compare
No description provided.