[Feature request] Make StepContext
available in public API for annotations
#792
Labels
task:improvement
Change that improves some user experience but can't be considered a new feature
theme:core
I'm submitting a ...
What is the current behavior?
Annotating return type of such function is not possible, because
allure.step
returns internalStepContext
(under_allure.py
)What is the expected behavior?
Make
StepContext
available inallure.py
What is the motivation / use case for changing the behavior?
Adding
StepContext
to public API will allow to annotate return type ofallure_step__foo
in a nice and simple way via:The text was updated successfully, but these errors were encountered: