followup: add note on from_parent kwargs
This commit is contained in:
parent
5c1e56d350
commit
3637d9eb3f
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue