Sign in
◑
Theme
android-kvm
/
buildroot
/
8be4ea1bb3ab599d6f8ad4ff3da2e8659ee656bb
/
.
/
support
/
testing
/
tests
/
package
/
sample_python_jmespath.py
blob: aefccd4fd8f8e1e0f4f4aba19d6916faa5f977bf [
file
]
import
jmespath
expression
=
jmespath
.
compile
(
'foo.bar'
)
res
=
expression
.
search
({
'foo'
:
{
'bar'
:
'baz'
}})
assert
res
==
"baz"
,
"expression.search failed"