@@ -35,9 +35,9 @@ You can use the `query` function with any [JMESPath expression](https://jmespath
35
35
???+ tip
36
36
Another common use case is to fetch deeply nested data, filter, flatten, and more.
37
37
38
- === "extract_data_from_envelope .py"
38
+ === "query .py"
39
39
```python hl_lines="1 6 10"
40
- --8<-- "examples/jmespath_functions/src/extract_data_from_envelope .py"
40
+ --8<-- "examples/jmespath_functions/src/query .py"
41
41
```
42
42
43
43
=== "extract_data_from_envelope.json"
@@ -52,7 +52,7 @@ We provide built-in envelopes for popular AWS Lambda event sources to easily dec
52
52
53
53
=== "extract_data_from_builtin_envelope.py"
54
54
55
- ```python hl_lines="1-4 9 "
55
+ ```python hl_lines="4-7 14 "
56
56
--8<-- "examples/jmespath_functions/src/extract_data_from_builtin_envelope.py"
57
57
```
58
58
@@ -102,7 +102,7 @@ This sample will deserialize the JSON string within the `data` key before valida
102
102
103
103
=== "powertools_json_jmespath_function.py"
104
104
105
- ```python hl_lines="5 8 34 45 48 51"
105
+ ```python hl_lines="5 6 34 45 48 51"
106
106
--8<-- "examples/jmespath_functions/src/powertools_json_jmespath_function.py"
107
107
```
108
108
@@ -142,7 +142,7 @@ This sample will decode the base64 value within the `data` key, and deserialize
142
142
143
143
=== "powertools_base64_jmespath_function.py"
144
144
145
- ```python hl_lines="7 10 37 49 53 55 57 "
145
+ ```python hl_lines="7 11 36 48 52 54 56 "
146
146
--8<-- "examples/jmespath_functions/src/powertools_base64_jmespath_function.py"
147
147
```
148
148
0 commit comments