Closed robertomier closed 5 months ago
Code Climate has analyzed commit 06d761e and detected 2 issues on this pull request.
Here's the issue category breakdown:
Category Count Complexity 2 View more on Code Climate.
Sr codeclimate, puedo meter la función que indica como compleja con if elif elif elif elif elif elif elif elif elif elif elif elif elif elif elif elif elif elif elif elif elif elif elif elif elif elif elif elif elif elif elif elif elif elif elif elif elif elif elif elif elif elif elif elif elif elif elif elif elif elif elif elif elif elif elif elif elif elif elif elif elif elif elif elif ... (que además puede llegar a evaluar por duplicado isinstance(value,list), que es mucho mejor, oiga)
Code Climate has analyzed commit 3ff199ac and detected 0 issues on this pull request.
View more on Code Climate.
So far....
Expressions starting with CONTEXT let us select elements saved in context or context.storage like
recently, the index in arrays was added, so that
Now... let's go a bit deeper and let's have a mechanism of selecting elements in an array of dictionaries by searching for an specific key, like this:
having this next structure saved in the context
we are now able to select like
[CONTEXT:the_array.id=first-element.text]
and the 'The value of the first element' will be returnedyou can also use single or double quotes for the selection expression (id='first-element', "id"="first-element", etc..)