| Commit message (Collapse) | Author | Age |
| |
|
|\ |
|
|\ \ |
|
| | |\
| | |/
| |/| |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
Also converting to .cc
|
| |/ |
|
|\| |
|
| |\
| | |
| | | |
Devolve staticmethod to ordinary function.
|
| |\ \
| | | |
| | | | |
Change plugin credentials API to support both sync and async modes
|
| | |/
| |/| |
|
| | | |
|
| | | |
|
| | | |
|
| | |\
| | |/
| |/| |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This commit is a rebase of an old contribution with minor formatting
edits (cf. https://github.com/grpc/grpc/pull/8663)
[Original Author]
Masood Malekghassemi <atash@google.com>
Date: Mon Nov 7 14:49:09 2016 -0800
Contributor is a Xoogler and the contribution is owned by Google Inc.
as per the copyright assignment agreement with the original author,
as it was drafted during their employment with Google Inc.
|
| | |\
| | |/
| |/| |
|
| |\ \
| | | |
| | | | |
Fix stream compression transport duplicate
|
|\| | | |
|
| |\ \ \
| | | | |
| | | | | |
Clean up even more uses of gRPC in _pb2.py files.
|
| | | | | |
|
|\| | | | |
|
|\ \ \ \ \ |
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | | |
This is required to compile with Cython options that
are more strict about const correctness.
|
| | | |\ \
| | |_|/ /
| |/| | |
| | | | | |
fix-stream-compression-transport-duplicate
|
| |\ \ \ \
| | | | | |
| | | | | | |
1.6.x master upmerge
|
| |\ \ \ \ \
| | | |/ / /
| | |/| | | |
Use grpc_1_0 flag in beta_python_plugin_test.
|
|\| | | | | |
|
| | |/| | |
| |/| | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Beta code elements are not generated at all in _pb2_grpc.py files.
This duplicates a lot of the in-test code generation done in
_split_definitions_test. In a future clean-up we may want to
deduplicate the common behavior, put it in a module available to all
other tests, and do all of our testing of generated code with in-test
code generation.
|
| |\ \ \ \ \
| | |/ / / /
| |/| | | | |
Fix a six.with_metaclass usage mistake.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
I made this mistake in 2010985ab269c8df0443e4f3782cbdffb083e9d4 but
only with yesterday's release of six 1.11.0 has it started failing
("TypeError: metaclass conflict: the metaclassof a derived class must
be a (non-strict) subclass of the metaclasses of all its bases").
|
| |\ \ \ \ \
| | | | | | |
| | | | | | | |
Overhaul protoc_plugins._split_definitions_test.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
We were mistaken before when we were testing _pb2.py files being
generated in one directory and _pb2_grpc.py files being generated in
another directory. Sure, that was a thing our code generator could do,
but because of the way paths and packages work in Python it wasn't a
realistic use case for actual users.
This test now tests _pb2.py files and _pb2_grpc.py files being
generated either together or independently of one another, and if
independently, in either order. Looking forward to an eventual
py_grpc_library Bazel rule, that's what actually matters.
|
| |\ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Tweak Python sanity test.
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
- Move it out of the "unit" package, as it's not itself a unit test.
- Suffix the test class with "Test" as we do with every other subclass
of unittest.TestCase.
- Add a larger-than-we'll-need-any-time-soon maxDiff so that failures
are fully described.
- Relax the assertion from assertListEqual to assertSequenceEqual
since we don't actually care whether or not the sequences being
compared are list instances.
- Change the order of the assertions arguments to match the
"<expected>, <actual>" convention used in our assert*Equal calls
elsewhere throughout the test corpus.
- Internal implementation simplifications.
|
| |\| | | | | |
| | | | | | | |
| | | | | | | | |
Clean up a few more uses of gRPC code elements in _pb2.py files.
|
| | | |/ / / /
| | |/| | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Were this not done these would break when the default behavior of gRPC
Python Protoc Plug-In is changed to be the put-gRPC-code-elements-only-
in-_pb2_grpc.py-files behavior that currently happens only when the
grpc_2_0 flag is passed.
|
| | | | | |\ \
| | | |_|_|/ /
| | |/| | | |
| | | | | | | |
fix-stream-compression-transport-duplicate
|
| |/ / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
In 1ff429da2a94bc79300ebce3f8aae7efb10e9a75 it appears to have been
copied out of src/python/grpcio/commands.py and not used, and it seems
to have remained without use since.
|
|\| | | | | |
|
| | | |\ \ \
| | | | | | |
| | | | | | | |
Bump version to 1.6.1
|
| | | | | | | |
|
| | | | | | | |
|
| |/ / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
I wrote these in the course of a bug hunt. I haven't yet caught and
fixed the bug, but that's no reason not to check in perfectly good
tests. :-)
|
| | | | | |\
| | |_|_|_|/
| |/| | | | |
|