Skip to content

Commit 7ac4f80

Browse files
committed
document additional argument to function
1 parent 7d452c3 commit 7ac4f80

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

openml/utils.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ def extract_xml_tags(xml_tag_name, node, allow_none=True):
1313
Node object returned by ``xmltodict`` from which ``xml_tag_name``
1414
should be extracted.
1515
16+
allow_none : bool
17+
If ``False``, the tag needs to exist in the node. Will raise a
18+
``ValueError`` if it does not.
19+
1620
Returns
1721
-------
1822
object

0 commit comments

Comments
 (0)