Masood Malekghassemi
41251e4d3a
Fix Python auth and interop test
10 years ago
Masood Malekghassemi
e6b0038223
Add OAuth interop tests to Python
...
Also adds the commands to the grpc_docker shell library script to
support running in docker.
10 years ago
Alexander Staubo
8eac91eaf4
OS X doesn't have librt, so don't link to it.
10 years ago
Masood Malekghassemi
2b34e5adf1
Version update to 0.5.0
10 years ago
Masood Malekghassemi
451887ba2c
Enable PyPI package management
10 years ago
Nathaniel Manista
89ad057854
Update the generated Python interop code.
...
https://github.com/grpc/grpc/issues/1150 tracks the fact that these
files shouldn't even exist. For now, however, they do and should be
kept current.
10 years ago
Nathaniel Manista
cd7096deb6
Add a metadata_transformer to the Python stub.
10 years ago
Masood Malekghassemi
660a33e11f
Satisfy C90 pedantry in Python adapter
10 years ago
Masood Malekghassemi
841f90f86f
Add metadata support to low-level Python framework
10 years ago
Masood Malekghassemi
5bf4d2ae36
Reformat style of using PyObject_HEAD
10 years ago
Nathaniel Manista
f492b16d48
Unify early_adopter construction functions
...
It was awkward for the generated code to call an API that offered
both insecure_server and secure_server as well as insecure_stub and
secure_stub. With this change there is just a single server function
and a single stub function and security is decided based on arguments
passed.
10 years ago
Masood Malekghassemi
89905ac55d
Factor out interface-specific early_adopter code
...
Refactors early_adopter such that interface-specific code is located in
the framework module as a submodule `alpha`.
10 years ago
Nathaniel Manista
de5490c15c
Change remaining "packet" names to "ticket"
...
This renaming has been incrementally happening for the last several
weeks and this change finishes it.
10 years ago
Nathaniel Manista
492dfdb950
Correct a package name in a doc string
10 years ago
Nathaniel Manista
4e6fd0a3ae
Merge the base and base.packets packages
...
They were two halves of the same whole.
10 years ago
Nathaniel Manista
9ef929d78d
Reenable a disabled test method
10 years ago
Nathaniel Manista
affe916405
Add at CANCELLATION back-to-front ticket kind
...
This addresses issue #752 .
10 years ago
Nathaniel Manista
e2e443c1d4
Use distinct enums for distinct ticket types
10 years ago
Nathaniel Manista
8d81365a3c
Iterate over an enum since we can
...
Since enums are themselves iterable there's no need to maintain a list
of the elements of the enum dating from back before the enum when its
values were just independent constants that hung out together.
10 years ago
Nathaniel Manista
ae3e5b53f0
Change managers to pass each other Outcomes
...
This refactoring greatly reduces the base-internal use of packet kinds
and will make much simpler a future change distinguishing front-to-back
packet kinds from back-to-front packet kinds.
10 years ago
Nathaniel Manista
c4fada6e9a
Add service name to Python early_adopter
10 years ago
murgatroid99
2493ea6d4b
Fixed argument types in setup.py
10 years ago
Arkadiusz Bokowy
5d85675b56
Fix port selection for server
...
Commit 31e65be
introduces a bug which causes starting server on a randomly
selected port.
10 years ago
Nicolas "Pixel" Noble
8a6b38c9be
Remove a const from a variable that should be mutable.
...
deadline is passed by address to PyArg_ParseTuple to update its value.
However, deadline is a const double, so attempting to change its value
is undefined behavior. Remove the const to have well-defined behavior.
10 years ago
Nathaniel Manista
31e65beaed
Eliminate the Python "assembly" package
...
This completes issue #726 . All that cascading activation stuff just
didn't work out as cleanly as I had hoped it would.
10 years ago
Ronnie Sahlberg
400349ea4d
README: fix the path to the python requirements.txt file
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
10 years ago
Nathaniel Manista
5c87a30c41
Refactoring within Python RPC Framework
...
The assembly and face layers were mostly redundant except that the
assembly layer had far-better interfaces and the face layer had more
of a reason to exist. Now they are merged.
10 years ago
Nathaniel Manista
256ccca923
Use server_host_override in interop client
...
Also refactor the interop package to perform client-server interop
testing in a unit test.
10 years ago
Nathaniel Manista
db13f68dab
Add a server_host_override to stub creation
...
This optional value should only be passed in tests.
10 years ago
Nathaniel Manista
a55c0949ee
Python secure server API changes
10 years ago
murgatroid99
4a171f8e2d
Fixed python link order
10 years ago
murgatroid99
4eb6e31566
Added rt link to python's setup.py
10 years ago
Misha Brukman
5cdf37eb7b
Removed execute permissions from README files.
10 years ago
Misha Brukman
53f101a7a9
Moved pip dependencies into requirements.txt .
...
This allows for easier scripting and updates.
10 years ago
Nathaniel Manista
89fccb7d7a
Simple installation instructions for Python.
10 years ago
Nathaniel Manista
1c37fe62fd
Work towards invocation-side security.
10 years ago
Nathaniel Manista
c2b402001b
The Python interop client.
...
The server_host_override flag's implementation remaining
outstanding means that this only works over insecure
connections for now.
10 years ago
Jayant Kolhe
806dde1bcb
Update README.md
10 years ago
Nathaniel Manista
1ffe4feb6f
Sanitize a reference number.
10 years ago
Nathaniel Manista
c6e42c8a86
Set Python version number to 0.4.0.
10 years ago
Nathaniel Manista
c855d57666
Python ClientCredentials object.
10 years ago
Jan Tattermusch
e0172a86a0
fix readme
10 years ago
Nathaniel Manista
9280790a5d
Final changes to the early_adopter API.
...
This makes grpc.early_adopter much more independent of RPC
Framework and cleaner at the cost of reexporting most of the
interfaces and writing several delegation classes.
10 years ago
Nathaniel Manista
f4e3f3f8d6
Avoid CANCELLATION ticket kind for back-to-front tickets.
...
It's not (yet, see issue 752) allowed and code at the higher
level doesn't know how to deal with it.
10 years ago
Nathaniel Manista
4ad01246e3
Propagate ForeLink-joining to the inner RearLink.
...
rear._ActivatedRearLink's inner RearLink should of
course send its tickets to whatever ForeLink was joined
to the rear._ActivatedRearLink.
10 years ago
Nathaniel Manista
de16e4c755
Add a port method to assembly-level servers.
10 years ago
Nathaniel Manista
e04e20aaca
Thread-pool-less construction of GRPC links.
...
These will be used in generated code in circumstances in which we
don't necessarily want to be asking calling code to have a thread
pool readily available.
10 years ago
Masood Malekghassemi
f5f83be4fc
Replaces the generated code in src/python/interop/interop with more recently generated code.
10 years ago
Nathaniel Manista
7efe54e336
The framework.assembly package.
...
This provides for now what should be a nicer interface for code
generation than that of the Face layer. In terms of abstraction
it's conceptually very similar so the two should probably be
merged as soon as is reasonable.
10 years ago
Nathaniel Manista
331fcb9dc3
Add SyncAsync interfaces and implementations.
...
These invocation-side values allow users to choose
between synchronous and asynchronous execution of
their RPCs with a single attribute access.
10 years ago