5d124489a953e97344b7aca06a9cb33d518fbf1b,python/ray/serve/examples/doc/quickstart_function.py,,,#,11
Before Change
serve.create_endpoint("hello", "/hello")
serve.create_backend("hello", echo)
serve.set_traffic("hello", {"hello": 1.0})
requests.get("http://127.0.0.1:8000/hello").text
// > "hello serve!"
After Change
return "hello " + flask_request.args.get("name", "serve!")
serve.create_backend("hello", echo)
serve.create_endpoint("hello", backend="hello", route="/hello")
requests.get("http://127.0.0.1:8000/hello").text
// > "hello serve!"
In pattern: SUPERPATTERN
Frequency: 16
Non-data size: 4
Instances
Project Name: ray-project/ray
Commit Name: 5d124489a953e97344b7aca06a9cb33d518fbf1b
Time: 2020-06-06
Author: ed.nmi.oakes@gmail.com
File Name: python/ray/serve/examples/doc/quickstart_function.py
Class Name:
Method Name:
Project Name: ray-project/ray
Commit Name: 5d124489a953e97344b7aca06a9cb33d518fbf1b
Time: 2020-06-06
Author: ed.nmi.oakes@gmail.com
File Name: python/ray/serve/examples/doc/quickstart_class.py
Class Name:
Method Name:
Project Name: ray-project/ray
Commit Name: 5d124489a953e97344b7aca06a9cb33d518fbf1b
Time: 2020-06-06
Author: ed.nmi.oakes@gmail.com
File Name: python/ray/serve/tests/test_api.py
Class Name:
Method Name: test_batching
Project Name: ray-project/ray
Commit Name: 5d124489a953e97344b7aca06a9cb33d518fbf1b
Time: 2020-06-06
Author: ed.nmi.oakes@gmail.com
File Name: python/ray/serve/tests/test_api.py
Class Name:
Method Name: test_parallel_start
Project Name: ray-project/ray
Commit Name: 5d124489a953e97344b7aca06a9cb33d518fbf1b
Time: 2020-06-06
Author: ed.nmi.oakes@gmail.com
File Name: python/ray/serve/tests/test_api.py
Class Name:
Method Name: test_scaling_replicas
Project Name: ray-project/ray
Commit Name: 5d124489a953e97344b7aca06a9cb33d518fbf1b
Time: 2020-06-06
Author: ed.nmi.oakes@gmail.com
File Name: python/ray/serve/examples/benchmark.py
Class Name:
Method Name:
Project Name: ray-project/ray
Commit Name: 5d124489a953e97344b7aca06a9cb33d518fbf1b
Time: 2020-06-06
Author: ed.nmi.oakes@gmail.com
File Name: python/ray/serve/tests/test_handle.py
Class Name:
Method Name: test_handle_in_endpoint
Project Name: ray-project/ray
Commit Name: 5d124489a953e97344b7aca06a9cb33d518fbf1b
Time: 2020-06-06
Author: ed.nmi.oakes@gmail.com
File Name: python/ray/serve/examples/doc/tutorial_pytorch.py
Class Name:
Method Name:
Project Name: ray-project/ray
Commit Name: 5d124489a953e97344b7aca06a9cb33d518fbf1b
Time: 2020-06-06
Author: ed.nmi.oakes@gmail.com
File Name: python/ray/serve/examples/echo_actor.py
Class Name:
Method Name:
Project Name: ray-project/ray
Commit Name: 5d124489a953e97344b7aca06a9cb33d518fbf1b
Time: 2020-06-06
Author: ed.nmi.oakes@gmail.com
File Name: python/ray/serve/examples/echo_split.py
Class Name:
Method Name:
Project Name: ray-project/ray
Commit Name: 5d124489a953e97344b7aca06a9cb33d518fbf1b
Time: 2020-06-06
Author: ed.nmi.oakes@gmail.com
File Name: python/ray/serve/examples/doc/tutorial_tensorflow.py
Class Name:
Method Name:
Project Name: ray-project/ray
Commit Name: 5d124489a953e97344b7aca06a9cb33d518fbf1b
Time: 2020-06-06
Author: ed.nmi.oakes@gmail.com
File Name: python/ray/serve/examples/doc/tutorial_batch.py
Class Name:
Method Name:
Project Name: ray-project/ray
Commit Name: 5d124489a953e97344b7aca06a9cb33d518fbf1b
Time: 2020-06-06
Author: ed.nmi.oakes@gmail.com
File Name: python/ray/serve/examples/echo.py
Class Name:
Method Name:
Project Name: ray-project/ray
Commit Name: 5d124489a953e97344b7aca06a9cb33d518fbf1b
Time: 2020-06-06
Author: ed.nmi.oakes@gmail.com
File Name: python/ray/serve/tests/test_api.py
Class Name:
Method Name: test_batching_exception
Project Name: ray-project/ray
Commit Name: 5d124489a953e97344b7aca06a9cb33d518fbf1b
Time: 2020-06-06
Author: ed.nmi.oakes@gmail.com
File Name: python/ray/serve/tests/test_api.py
Class Name:
Method Name: test_e2e
Project Name: ray-project/ray
Commit Name: 5d124489a953e97344b7aca06a9cb33d518fbf1b
Time: 2020-06-06
Author: ed.nmi.oakes@gmail.com
File Name: python/ray/serve/examples/echo_actor_batch.py
Class Name:
Method Name: