Skip to content

Commit f9af9d8

Browse files
authored
Update README.md, python example (#235)
Add the uri field which is required by the current implementation of `Compiler`.
1 parent 80983d1 commit f9af9d8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ from gherkin.pickles.compiler import Compiler
128128

129129
parser = Parser()
130130
gherkin_document = parser.parse("Feature: ...")
131+
gherkin_document["uri"] = "uri_of_the_feature.feature"
131132
pickles = Compiler().compile(gherkin_document)
132133
```
133134

0 commit comments

Comments
 (0)