36e626e95d7cb905708bb997fc102ad1d91eb0be,dashboard/agent.py,DashboardAgent,__init__,#DashboardAgent#Any#Any#Any#Any#Any#Any#Any#,34
Before Change
self.ip = ray.services.get_node_ip_address()
self.server = aiogrpc.server(options=(("grpc.so_reuseport", 0), ))
self.grpc_port = self.server.add_insecure_port("[::]:0")
logger.info("Dashboard agent grpc address: %s:%s", self.ip,
self.grpc_port)
self.aioredis_client = None
self.aiogrpc_raylet_channel = aiogrpc.insecure_channel("{}:{}".format(
self.ip, self.node_manager_port))
self.http_session = None
After Change
dashboard_utils.DashboardAgentModule)
ip, port = redis_address.split(":")
// Public attributes are accessible for all agent modules.
self.redis_address = (ip, int(port))
self.redis_password = redis_password
self.temp_dir = temp_dir
self.log_dir = log_dir
self.node_manager_port = node_manager_port
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: ray-project/ray
Commit Name: 36e626e95d7cb905708bb997fc102ad1d91eb0be
Time: 2020-08-14
Author: robertnishihara@gmail.com
File Name: dashboard/agent.py
Class Name: DashboardAgent
Method Name: __init__
Project Name: google/deepvariant
Commit Name: f4ef1cb731b6ed34a346c7c58322d1ac9354120d
Time: 2020-02-26
Author: pichuan@google.com
File Name: deepvariant/make_examples.py
Class Name:
Method Name: make_examples_runner
Project Name: google/deepvariant
Commit Name: b576b6029b47a6733c5d6753ae7535eb90daab05
Time: 2020-09-24
Author: gunjanbaid@google.com
File Name: deepvariant/postprocess_variants.py
Class Name:
Method Name: main