25136676c51cb6ad64d104ae77fa91067cdf60a5,openml/setups/functions.py,,list_setups,#Any#Any#Any#Any#Any#,109

Before Change


    dict
        

    api_call = "setup/list"
    if offset is not None:
        api_call += "/offset/%d" % int(offset)
    if size is not None:
        api_call += "/limit/%d" % int(size)
    if setup is not None:
        api_call += "/setup/%s" % ",".join([str(int(i)) for i in setup])
    if flow is not None:
        api_call += "/flow/%s" % flow
    if tag is not None:
        api_call += "/tag/%s" % tag

    return _list_setups(api_call)


def _list_setups(api_call):
    Helper function to parse API calls which are lists of setups

After Change


    dict
        

    return openml.utils.list_all(_list_setups, offset=offset, size=size,
                                 flow=flow, tag=tag, setup=setup)


def _list_setups(setup=None, **kwargs):
    
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 20

Instances


Project Name: openml/openml-python
Commit Name: 25136676c51cb6ad64d104ae77fa91067cdf60a5
Time: 2018-03-28
Author: arlindkadra@gmail.com
File Name: openml/setups/functions.py
Class Name:
Method Name: list_setups


Project Name: openml/openml-python
Commit Name: 25136676c51cb6ad64d104ae77fa91067cdf60a5
Time: 2018-03-28
Author: arlindkadra@gmail.com
File Name: openml/tasks/functions.py
Class Name:
Method Name: list_tasks


Project Name: openml/openml-python
Commit Name: 25136676c51cb6ad64d104ae77fa91067cdf60a5
Time: 2018-03-28
Author: arlindkadra@gmail.com
File Name: openml/flows/functions.py
Class Name:
Method Name: list_flows


Project Name: openml/openml-python
Commit Name: 25136676c51cb6ad64d104ae77fa91067cdf60a5
Time: 2018-03-28
Author: arlindkadra@gmail.com
File Name: openml/setups/functions.py
Class Name:
Method Name: list_setups