File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -581,8 +581,8 @@ def get_value_from_context(param, context):
581
581
storages or the context object itself. In a dotted case, "last_request.result" is searched as a "last_request" key
582
582
in the context storages or as a property of the context object whose name is last_request. In both cases, when
583
583
found, "result" is considered (and resolved) as a property or a key into the returned value.
584
- If the element is a list then return the first element as default or take the index given in the next part
585
- f.e: list.1 returns the second element of the list ' list' .
584
+ If the resolved element at one of the tokens is a list, then the next token (if present) is used as the index
585
+ to select one of its elements, e.g. " list.1" returns the second element of the list " list" .
586
586
587
587
There is not limit in the nested levels of dotted tokens, so a key like a.b.c.d will be tried to be resolved as:
588
588
You can’t perform that action at this time.
0 commit comments