parser not nullable

This commit is contained in:
Alessio Bogon 2022-07-10 17:46:03 +02:00
parent 478e21bcdf
commit 8d3f3743de
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ class StepFunctionContext:
name: str
type: Literal["given", "when", "then"]
step_func: Callable[..., Any]
parser: StepParser | None = None
parser: StepParser
converters: dict[str, Callable[..., Any]] = field(default_factory=dict)
target_fixture: str | None = None