Skip to content

update agile_user_story_conformance.py to work with Spacy 3.0#2

Open
shott92 wants to merge 1 commit intoarmsp:masterfrom
shott92:patch-1
Open

update agile_user_story_conformance.py to work with Spacy 3.0#2
shott92 wants to merge 1 commit intoarmsp:masterfrom
shott92:patch-1

Conversation

@shott92
Copy link

@shott92 shott92 commented Sep 3, 2022

update line 33 to work with Spacy 3.0, where Matcher.add now takes the pattern list as the 2nd arguement and on_match, becomes an optional KWArg.
Wrapped the pattern as a list [user_story]. (not sure why this is needed, as user_story is a list of dicts already, but it doesn't function without it)

update line 33 to work with Spacy 3.0, where Matcher.add now takes the pattern list as the 2nd arguement and on_match, becomes an optional KWArg.
Wrapped the pattern as a list [user_story]. (not sure why this is needed, as user_story is a list of dicts already, but it doesn't function without it)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant