Skip to content

Commit

Permalink
Merge pull request #121 from klauer/mnt_blark_compat
Browse files Browse the repository at this point in the history
MNT: blark v0.3.0 compatibility
  • Loading branch information
klauer committed Mar 1, 2022
2 parents e5c1b96 + 6a611bd commit 5cdd04c
Show file tree
Hide file tree
Showing 6 changed files with 135 additions and 811 deletions.
2 changes: 1 addition & 1 deletion conda-recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ requirements:
- graphviz
- python-graphviz <0.18
- jinja2
- lark-parser <1.0
- lark-parser
- apischema

test:
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ aiohttp
apischema[graphql]
graphviz <0.18
jinja2
lark-parser<1.0
lark
2 changes: 1 addition & 1 deletion whatrecord/dbtemplate.py
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ def pattern_values(self, *values):
@lark.visitors.v_args(tree=True)
def empty(self, tree):
empty = PatternValues(
context=context_from_token(self.fn, tree),
context=transformer.context_from_tree(self.fn, tree),
values=[],
)
self._stack.append(empty)
Expand Down
Loading

0 comments on commit 5cdd04c

Please sign in to comment.