utils
openml.utils
#
ProgressBar
#
Bases: ProgressType
Progressbar for MinIO function's progress parameter.
Source code in openml/utils.py
set_meta
#
Initializes the progress bar.
| PARAMETER | DESCRIPTION |
|---|---|
object_name
|
Not used.
TYPE:
|
total_length
|
File size of the object in bytes.
TYPE:
|
Source code in openml/utils.py
update
#
Updates the progress bar.
| PARAMETER | DESCRIPTION |
|---|---|
length
|
Number of bytes downloaded since last
TYPE:
|
Source code in openml/utils.py
extract_xml_tags
#
extract_xml_tags(xml_tag_name: str, node: Mapping[str, Any], *, allow_none: bool = True) -> Any | None
Helper to extract xml tags from xmltodict.
| PARAMETER | DESCRIPTION |
|---|---|
xml_tag_name
|
Name of the xml tag to extract from the node.
TYPE:
|
node
|
Node object returned by
TYPE:
|
allow_none
|
If
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
object
|
|