fca1cf9adf43200a031325656c94a960bcd2f183,polyaxon/init/init/auth.py,,,#,32

Before Change


    entity = arguments.pop("entity")
    entity_name = arguments.pop("entity_name")

    if entity == "experiment":
        create_experiment_auth_context(experiment_name=entity_name)
    elif entity == "job":
        create_job_auth_context(job_name=entity_name)
    elif entity == "notebook":
        create_notebook_auth_context(job_name=entity_name)
    else:
        raise ValueError("Entity `{}` not recognized".format(entity))

After Change



    entity = arguments.pop("entity")
    entity_name = arguments.pop("entity_name")
    sleep_interval = arguments.pop("sleep_interval")

    create_auth_context()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: polyaxon/polyaxon
Commit Name: fca1cf9adf43200a031325656c94a960bcd2f183
Time: 2019-06-26
Author: mouradmourafiq@gmail.com
File Name: polyaxon/init/init/auth.py
Class Name:
Method Name:


Project Name: prody/ProDy
Commit Name: a003496dba3190c2e874dc0f574025c1aab46828
Time: 2018-09-21
Author: shz66@pitt.edu
File Name: prody/database/dali.py
Class Name:
Method Name: searchDali


Project Name: tensorflow/tpu
Commit Name: 8055210d965130ded71d06ea4cc59c2e82e65b15
Time: 2019-04-09
Author: jysohn@google.com
File Name: models/experimental/mask_rcnn/mask_rcnn_model.py
Class Name:
Method Name: _model_fn