Skip to content

Commit

Permalink
Update README.md, python example (#235)
Browse files Browse the repository at this point in the history
Add the uri field which is required by the current implementation of `Compiler`.
  • Loading branch information
jeanlauliac authored Mar 13, 2024
1 parent 80983d1 commit f9af9d8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ from gherkin.pickles.compiler import Compiler

parser = Parser()
gherkin_document = parser.parse("Feature: ...")
gherkin_document["uri"] = "uri_of_the_feature.feature"
pickles = Compiler().compile(gherkin_document)
```

Expand Down

0 comments on commit f9af9d8

Please sign in to comment.