followup: add note on from_parent kwargs

This commit is contained in:
Ronny Pfannschmidt 2020-02-22 17:09:16 +01:00
parent 5c1e56d350
commit 3637d9eb3f
1 changed files with 2 additions and 0 deletions

View File

@ -45,6 +45,8 @@ This limitation in api surface intends to enable better/simpler refactoring of t
This means that instead of :code:`MyItem(name="foo", parent=collector, obj=42)` This means that instead of :code:`MyItem(name="foo", parent=collector, obj=42)`
one now has to invoke :code:`MyItem.from_parent(collector, name="foo")`. one now has to invoke :code:`MyItem.from_parent(collector, name="foo")`.
Note that ``from_parent`` should only be called with keyword arguments for the parameters.
``junit_family`` default value change to "xunit2" ``junit_family`` default value change to "xunit2"