Commit 1b29306e1bf45d00f54c10f28deed66a6102b77f
Committed by
mykhaly
1 parent
10e0c78d
Add caching for item and lot questions data (#196)
Showing
1 changed file
with
2 additions
and
2 deletions
| @@ -232,7 +232,7 @@ Resource resource.robot | @@ -232,7 +232,7 @@ Resource resource.robot | ||
| 232 | ${question_id}= get_id_from_object ${question.data} | 232 | ${question_id}= get_id_from_object ${question.data} |
| 233 | ${question_data}= Create Dictionary question=${question} question_resp=${question_resp} question_id=${question_id} | 233 | ${question_data}= Create Dictionary question=${question} question_resp=${question_resp} question_id=${question_id} |
| 234 | ${question_data}= munch_dict arg=${question_data} | 234 | ${question_data}= munch_dict arg=${question_data} |
| 235 | - | 235 | + Set To Dictionary ${USERS.users['${username}']} question_data=${question_data} |
| 236 | 236 | ||
| 237 | Можливість задати запитання на ${item_index} предмет користувачем ${username} | 237 | Можливість задати запитання на ${item_index} предмет користувачем ${username} |
| 238 | ${item_id}= get_id_from_object ${USERS.users['${tender_owner}'].tender_data.data['items'][${item_index}]} | 238 | ${item_id}= get_id_from_object ${USERS.users['${tender_owner}'].tender_data.data['items'][${item_index}]} |
| @@ -243,7 +243,7 @@ Resource resource.robot | @@ -243,7 +243,7 @@ Resource resource.robot | ||
| 243 | ${question_id}= get_id_from_object ${question.data} | 243 | ${question_id}= get_id_from_object ${question.data} |
| 244 | ${question_data}= Create Dictionary question=${question} question_resp=${question_resp} question_id=${question_id} | 244 | ${question_data}= Create Dictionary question=${question} question_resp=${question_resp} question_id=${question_id} |
| 245 | ${question_data}= munch_dict arg=${question_data} | 245 | ${question_data}= munch_dict arg=${question_data} |
| 246 | - | 246 | + Set To Dictionary ${USERS.users['${username}']} question_data=${question_data} |
| 247 | 247 | ||
| 248 | Можливість відповісти на запитання | 248 | Можливість відповісти на запитання |
| 249 | ${answer}= Підготувати дані для відповіді на запитання | 249 | ${answer}= Підготувати дані для відповіді на запитання |
Please
register
or
login
to post a comment