Skip to content

Commit

Permalink
chore: update hl_lines
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Brewer committed Apr 12, 2022
1 parent 9d0f3ee commit 44f01ba
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions docs/utilities/jmespath_functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ This sample will decode the value within the `data` key into a valid JSON before

=== "schemas.py"

```python hl_lines="8 10 17 23 34 36 41"
```python hl_lines="8 10 17 34 36 41"
--8<-- "docs/shared/validation_basic_jsonschema.py"
```

Expand All @@ -139,7 +139,7 @@ This sample will decode the base64 value within the `data` key, and decode the J

=== "schemas.py"

```python hl_lines="8 10 17 23 34 36 41"
```python hl_lines="8 10 17 34 36 41"
--8<-- "docs/shared/validation_basic_jsonschema.py"
```

Expand All @@ -157,7 +157,7 @@ This sample will decompress and decode base64 data, then use JMESPath pipeline e

=== "schemas.py"

```python hl_lines="8 10 17 23 34 36 41"
```python hl_lines="8 10 17 34 36 41"
--8<-- "docs/shared/validation_basic_jsonschema.py"
```

Expand Down
8 changes: 4 additions & 4 deletions docs/utilities/validation.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ It will fail fast with `SchemaValidationError` exception if event or response do

=== "schemas.py"

```python hl_lines="8 10 17 23 34 36 41"
```python hl_lines="8 10 17 34 36 41"
--8<-- "docs/shared/validation_basic_jsonschema.py"
```

Expand Down Expand Up @@ -78,7 +78,7 @@ You can also gracefully handle schema validation errors by catching `SchemaValid

=== "schemas.py"

```python hl_lines="8 10 17 23 34 36 41"
```python hl_lines="8 10 17 34 36 41"
--8<-- "docs/shared/validation_basic_jsonschema.py"
```

Expand Down Expand Up @@ -106,7 +106,7 @@ Here is a sample custom EventBridge event, where we only validate what's inside

=== "schemas.py"

```python hl_lines="8 10 17 23 34 36 41"
```python hl_lines="8 10 17 34 36 41"
--8<-- "docs/shared/validation_basic_jsonschema.py"
```

Expand All @@ -130,7 +130,7 @@ This utility comes with built-in envelopes to easily extract the payload from po

=== "schemas.py"

```python hl_lines="8 10 17 23 34 36 41"
```python hl_lines="8 10 17 34 36 41"
--8<-- "docs/shared/validation_basic_jsonschema.py"
```

Expand Down

0 comments on commit 44f01ba

Please sign in to comment.