aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/python
Commit message (Collapse)AuthorAge
...
| | | * | | Elide cygrpc.ChannelArg and cygrpc.ChannelArgsGravatar Nathaniel Manista2018-01-26
| | | | | |
| | | | | * Move cmdline and subprocess from public gpr to test/core/utilGravatar Vijay Pai2018-01-25
| | |_|_|/ | |/| | |
* | | | | Merge branch 'master' of https://github.com/grpc/grpc into channel-tracingGravatar ncteisen2018-01-24
|\ \ \ \ \
| | * \ \ \ Merge remote-tracking branch 'upstream/master' into ↵Gravatar Muxi Yan2018-01-24
| | |\ \ \ \ | | |/ / / / | |/| | | | | | | | | | fix-stream-compression-config-interface
| | | * | | rename gts to altsGravatar Yihua Zhang2018-01-23
| | | | | |
* | | | | | Move object registry out of gprGravatar ncteisen2018-01-23
| | | | | |
* | | | | | Merge branch 'master' of https://github.com/grpc/grpc into channel-tracingGravatar ncteisen2018-01-23
|\ \ \ \ \ \ | | |_|/ / / | |/| | | |
| | | | | * Remove alarm from core, implement in C++ layer onlyGravatar Vijay Pai2018-01-21
| | |_|_|/ | |/| | |
| | * | | Relax call details interface from interceptorGravatar Mehrdad Afshari2018-01-21
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A gRPC Python client interceptor is passed an instance of a class that implements the ClientCallDetails interface. The interceptor can choose to create its own object that implements the interface, and pass it back to the continuation invoked by the interceptor. To make it easy to add additional attributes to call details, without breaking user code that hardcode the attributes required by the interface, instead of interospecting the object passed to the interceptor at runtime, and to ease authorship of interceptors that want to keep some attributes intact and not care about them, we relax the requirements on the object that is expected to get passed by the interceptor and let the user omit some attributes. Omitted attributes will be replaced by the original value of the attribute given to the interceptor.
| * | | Regenerate projectsGravatar Mehrdad Afshari2018-01-19
| | | |
| | * | Update surface API in cython pxiGravatar Muxi Yan2018-01-19
| | | |
| | * | Merge remote-tracking branch 'upstream/master' into ↵Gravatar Muxi Yan2018-01-19
| | |\ \ | | |/ / | |/| | | | | | fix-stream-compression-config-interface
| * | | Split lib/support into lib/gpr and lib/gpr++.Gravatar Mark D. Roth2018-01-18
| | | |
| * | | Reformat Python docstringsGravatar Mehrdad Afshari2018-01-17
| | | |
| * | | Merge pull request #13965 from evanj/python-abort-fixGravatar kpayson642018-01-12
| |\ \ \ | | |_|/ | |/| | python: Context.abort should fail RPC even for StatusCode.OK
| | * | python: Context.abort should fail RPC even for StatusCode.OKGravatar Evan Jones2018-01-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | grpc.ServicerContext.abort is documented to always raise an exception to terminate the RPC. The code argument "must not be StatusCode.OK." However, if you do pass StatusCode.OK, the RPC terminates successfully on the client side, but returns None. _server.py: If the user accidentally passes StatusCode.OK, treat it as StatusCode.UNKNOWN. This is what happens if the user accidentally passes something that is not a StatusCode instance. Additionally set details to ''. _metadata_code_details_test.py: update test to verify the behavior of abort with invalid codes.
| * | | Elide cygrpc.TimespecGravatar Nathaniel Manista2018-01-10
| |/ /
* | | Merge branch 'master' of https://github.com/grpc/grpc into channel-tracingGravatar ncteisen2018-01-09
|\| |
| * | Upgrade yapf to 0.20.0Gravatar Mehrdad Afshari2018-01-02
| | | | | | | | | | | | Upgrade yapf version to 0.20.0 and reformat Python files.
| * | Merge pull request #13891 from nathanielmanistaatgoogle/12531Gravatar Nathaniel Manista2017-12-31
| |\ \ | | | | | | | | Reform cygrpc.OperationTag and cygrpc.Event.
| * \ \ Merge branch v1.8.x into masterGravatar Mehrdad Afshari2017-12-31
| |\ \ \ | | | | | | | | | | | | | | | Upmerge v1.8.3 into master
| | | * | Reform cygrpc.OperationTag and cygrpc.EventGravatar Nathaniel Manista2017-12-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rather than single classes they are now broken up into class families with each class containing only those fields and methods that are needed in the context in which the class is used.
| | * | | Bump version to 1.8.3Gravatar Mehrdad Afshari2017-12-30
| | |/ /
* | / / Initial commitGravatar ncteisen2017-12-28
|/ / / | | | | | | | | | | | | | | | | | | Picks up work from https://github.com/grpc/grpc/pull/10259. A merge was impossible due to the many sweeping changed that have occured since I last touched that PR (c++-ization, exec_ctx, reorganitation of filters, etc).
| * | Reform cygrpc.OperationGravatar Nathaniel Manista2017-12-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | It is now a family of classes conforming to an interface rather than a single class no single instance of which makes use of all behavior scoped to the class. It also now only uses gRPC Core memory for the time of a single batch rather than for the entire lifetime of the instance.
* | | Fix port picking logic in Python testsGravatar Mehrdad Afshari2017-12-20
| | |
* | | Merge pull request #13843 from kpayson64/fix_python_testsGravatar kpayson642017-12-20
|\ \ \ | | | | | | | | Disable so_reuseport for Python tests
| * | | Disable so_reuseport for Python testsGravatar Ken Payson2017-12-20
| | | |
| | * | Bump to 1.8.2Gravatar Ken Payson2017-12-19
| | | |
| | * | Bump version to 1.8.1Gravatar Mehrdad Afshari2017-12-14
| | | |
* | | | Merge pull request #13789 from grpc/v1.8.xGravatar Mehrdad Afshari2017-12-14
|\ \ \ \ | |/ / / |/| / / | |/ / Upmerge changes from v1.8.x to master
| * | Merge pull request #13786 from kpayson64/fix_python_server_raceGravatar kpayson642017-12-14
| |\ \ | | | | | | | | Fixes race condition in Python server shutdown
| | * | Fixes race condition in Python server shutdownGravatar Ken Payson2017-12-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When we set the call state to "CANCELLED" after grpc_cancel_all_calls, we would block other start batch operations from happening. The rpc_state for the cancelled call would still be in the server's rpc_states set, but it would never get removed because there were no active batches for the call, and the only place we remove from rpc_states is when a batch completes. It is better to rely on c-core's cancellation. Once a call is cancelled, all subsequent ops on that call will return immediately with a cancellation error. The RLock() change is due to the possibility that _on_call_completed gets invoked immediately when the call has already completed when the rpc_future callback is created.
| * | | Reallow out-of-spec metadataGravatar Nathaniel Manista2017-12-14
| |/ / | | | | | | | | | | | | | | | This restore unsupported, de facto behavior that was dropped in 80516e884a8cd03daaa1f4a40d2bb2 but that it turns out a lot of folks have been using.
| | * Merge remote-tracking branch 'upstream/master' into ↵Gravatar Muxi Yan2017-12-13
| | |\ | |_|/ |/| | | | | fix-stream-compression-config-interface
| | * More message compression level clean-upGravatar Muxi Yan2017-12-11
| | |
* | | Merge remote-tracking branch 'origin/v1.8.x'Gravatar Mehrdad Afshari2017-12-11
|\| |
| * | v1.8.0-pre2 is now v1.8.0Gravatar Mehrdad Afshari2017-12-12
| | |
| * | Add tests for gRPC Python interceptor machineryGravatar Mehrdad Afshari2017-12-12
| | |
| * | Add gRPC Python client-side interceptor machineryGravatar Mehrdad Afshari2017-12-12
| | |
| * | Add gRPC Python service-side interceptor machineryGravatar Mehrdad Afshari2017-12-12
| | |
* | | yapf grpcio_testsGravatar ncteisen2017-12-11
| | |
* | | yapf-ize grpc_testingGravatar ncteisen2017-12-11
| | |
* | | yapf-ize grpcio_reflectionGravatar ncteisen2017-12-11
| | |
* | | yapf-ize grpcio_health_checkingGravatar ncteisen2017-12-11
| | |
* | | Yapf-ize grpcio/grpc_.pyGravatar ncteisen2017-12-11
| | |
| * | Refactor: Rename call to response_iterator_callGravatar Mehrdad Afshari2017-12-10
| | | | | | | | | | | | Rename call to response_iterator_call file-wide for response-streaming tests.
| * | Tests for ServicerContext.abortGravatar Mehrdad Afshari2017-12-10
| | |
| * | Introduce ServicerContext.abort to abort an RPCGravatar Mehrdad Afshari2017-12-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gRPC Python required RPCs terminating with non-OK status code to still return a valid response value after calling set_code, even though the response value was not supposed to be communicated to the client, and returning None is considered a programming error. This commit introduces an alternative mechanism to terminate RPCs by calling the `abort` method on `ServicerContext` passed to the handler, which raises an exception and signals to the gRPC runtime to abort the RPC with the specified status code and details.
| * | Merge pull request #13688 from nathanielmanistaatgoogle/12531Gravatar Nathaniel Manista2017-12-08
| |\ \ | | | | | | | | Elide cygrpc.Operations.