Skip to content

Commit 4db2048

Browse files
committed
add a new filter in the local extensions
1 parent 2e0d4d0 commit 4db2048

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

dir/local_extensions.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,8 @@
33
@simple_filter
44
def add_1(s: str):
55
return s + "1"
6+
7+
@simple_filter
8+
def new_filter(s: str):
9+
# a new filter to test the extension update
10+
return s + " updated"
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
# Test file
22

33
{{ "Updated" | add_1 | add_1 }}
4+
5+
{{ "This has been " | new_filter }}

0 commit comments

Comments
 (0)