followup: add note on from_parent kwargs
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user