e0be0d8e9aa05618664594c14665342a61a04565,python/edl/utils/watcher.py,Watcher,_watcher,#Watcher#,53

Before Change


            if value is None:
                time.sleep(1)
                continue
            new_cluster = Cluster()
            new_cluster.from_json(value)

            with self._lock:
                self._new_cluster = new_cluster

After Change


            if value is None:
                time.sleep(1)
                continue
            new_cluster = edl_cluster.Cluster()
            new_cluster.from_json(value)

            with self._lock:
                self._new_cluster = new_cluster
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: PaddlePaddle/edl
Commit Name: e0be0d8e9aa05618664594c14665342a61a04565
Time: 2020-09-17
Author: weibao.gong@gmail.com
File Name: python/edl/utils/watcher.py
Class Name: Watcher
Method Name: _watcher


Project Name: PaddlePaddle/edl
Commit Name: 4ded830d68b05b0476313ad3f1c5b139b1093635
Time: 2020-09-16
Author: weibao.gong@gmail.com
File Name: python/edl/utils/etcd_db.py
Class Name: EtcdDB
Method Name: get_cluster


Project Name: PaddlePaddle/edl
Commit Name: e0be0d8e9aa05618664594c14665342a61a04565
Time: 2020-09-17
Author: weibao.gong@gmail.com
File Name: python/edl/utils/pod_server_client.py
Class Name: PodServerClient
Method Name: barrier