305eb74a86ad633dba754b1575f53228ab470c0a,python/ray/serve/http_proxy.py,HTTPProxy,__init__,#HTTPProxy#,22
Before Change
def __init__(self):
assert ray.is_initialized()
// Must be set via set_route_table.
self.route_table = dict()
// Must be set via set_router_handle.
self.router_handle = None
def set_route_table(self, route_table):
After Change
def __init__(self):
assert ray.is_initialized()
master = ray.util.get_actor(SERVE_MASTER_NAME)
self.route_table, [self.router_handle] = ray.get(
master.get_http_proxy_config.remote())
def set_route_table(self, route_table):
self.route_table = route_table
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances Project Name: ray-project/ray
Commit Name: 305eb74a86ad633dba754b1575f53228ab470c0a
Time: 2020-04-09
Author: ed.nmi.oakes@gmail.com
File Name: python/ray/serve/http_proxy.py
Class Name: HTTPProxy
Method Name: __init__
Project Name: GPflow/GPflow
Commit Name: ee4f7742fb5372a53a4141166111b62dc2da5ba5
Time: 2018-05-02
Author: art.art.v@gmail.com
File Name: gpflow/training/scipy_optimizer.py
Class Name: ScipyOptimizer
Method Name: make_optimize_tensor
Project Name: ray-project/ray
Commit Name: b71c912da70e307ff1a9f07c7ca277a727306126
Time: 2020-07-05
Author: rliaw@berkeley.edu
File Name: python/ray/tune/examples/mlflow_example.py
Class Name:
Method Name: easy_objective