ebe21d04e312fe71f4ce67c86e5bc2d98dfc3b94,api/server.py,,start,#,44
Before Change
resp = env.step(Action(*args).as_gym())
socket.send(pyarrow.serialize(resp).to_buffer())
except zmq.error.Again:
log.info("Waiting for client")
socket = create_socket(socket)
if __name__ == "__main__":
start()
After Change
def start():
server = Server()
server.run()
if __name__ == "__main__":
start()
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 2
Instances
Project Name: deepdrive/deepdrive
Commit Name: ebe21d04e312fe71f4ce67c86e5bc2d98dfc3b94
Time: 2018-07-08
Author: cquiter@gmail.com
File Name: api/server.py
Class Name:
Method Name: start
Project Name: kubeflow/kubeflow
Commit Name: f75565a227cf0f693b681838978d3e1f0a7e8a24
Time: 2019-01-18
Author: 39319471+richardsliu@users.noreply.github.com
File Name: testing/deploy_kubeflow.py
Class Name:
Method Name: deploy_kubeflow
Project Name: kubeflow/kubeflow
Commit Name: 67aa5e8bd0e8a429b710df4086f2fd1ccafa02c8
Time: 2019-10-12
Author: jeremy+github@lewi.us
File Name: testing/kfctl/kf_is_ready_test.py
Class Name:
Method Name: test_kf_is_ready