aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/python/grpcio/grpc/beta
Commit message (Collapse)AuthorAge
* Remove BUILD.bazel files from beta code elementsGravatar Mehrdad Afshari2018-11-21
| | | | | | | | | | | Beta code elements are going to get deprecated and Bazel support is much newer, so Bazel users are not supposed to accidentally depend on beta code elements. Preventing Bazel from building and including beta code elements makes our tests pass without depending on beta in grpcio target and helps avoid including that dependency accidentally if you are using Bazel.
* Minimal Bazel BUILD files for grpcio PythonGravatar Naresh2018-08-02
| | | | | Follow-up on the additions in #15992. Pad the grpcio Python package with necessary BUILD files along with 2 simple tests.
* Fix inconsistent-return-statements pylint warningsGravatar Mehrdad Afshari2018-06-07
|
* Remove CleanupThreadGravatar kpayson642018-04-30
| | | | | This is no longer needed with the addition of a close() API that allows clean shutdown.
* Upgrade yapf to 0.20.0Gravatar Mehrdad Afshari2018-01-02
| | | | Upgrade yapf version to 0.20.0 and reformat Python files.
* Fix Beta API metadata loosenessGravatar Nathaniel Manista2017-12-08
|
* auto-fix most of licensesGravatar Jan Tattermusch2017-06-08
|
* Merge pull request #9974 from nathanielmanistaatgoogle/lintGravatar Nathaniel Manista2017-03-08
|\ | | | | More lint.
* \ Merge pull request #9967 from nathanielmanistaatgoogle/lintGravatar Nathaniel Manista2017-03-03
|\ \ | | | | | | Lint progress.
| | * Enable unused-argument lintGravatar Nathaniel Manista2017-03-03
| | |
| | * Enable too-many-return-statements lintGravatar Nathaniel Manista2017-03-03
| | |
| | * Suppress and enable too-many-locals lintGravatar Nathaniel Manista2017-03-03
| | |
| | * Configure and enable too-many-arguments lintGravatar Nathaniel Manista2017-03-03
| |/
| * Fix and enable redefined-outer-name lintGravatar Nathaniel Manista2017-03-03
| |
* | Merge pull request #9866 from nathanielmanistaatgoogle/lint-fixesGravatar Nathaniel Manista2017-03-02
|\ \ | | | | | | Lint fixes.
| | * Fix and enable no-value-for-parameter lintGravatar Nathaniel Manista2017-03-02
| |/
| * Fix and enable unused-import lintGravatar Nathaniel Manista2017-03-02
| |
* | Remove grpc.beta._connectivity_channelGravatar Nathaniel Manista2017-03-02
|/ | | | | This should have been removed in, and has done anything but fail on import since, 4d425522bffc9c616872d672bb58c993c3ac4c6a.
* Re-run yapf code, and pin versionGravatar Ken Payson2017-02-06
|
* ran yapfGravatar David Garcia Quintas2017-01-30
|
* Run Python formattingGravatar Masood Malekghassemi2017-01-17
|
* Fixed name syntax errorGravatar Ken Payson2016-07-18
|
* Remove early adopter codeGravatar Ken Payson2016-07-12
|
* Merge pull request #7160 from nathanielmanistaatgoogle/handlers-optionalGravatar kpayson642016-07-08
|\ | | | | Make handlers optional at server construction
* | Fix _Rendezvous.exception for successful callsGravatar Nathaniel Manista2016-07-07
| |
| * Make handlers optional at server constructionGravatar Nathaniel Manista2016-07-07
|/
* Changed default string type to be strGravatar Ken Payson2016-06-29
| | | | | | | | | This impacts the following APIs: Metadata: Key is always a str, Value is bytes for binary metadata, str otherwise Call Details: str type gRPC method: str type hostname/target: str type
* Updated several threads to use CleanupThread for clean exitGravatar Ken Payson2016-06-26
|
* Change with_call from parameter to attributeGravatar Nathaniel Manista2016-06-20
|
* Rename FATAL_FAILURE SHUTDOWNGravatar Nathaniel Manista2016-06-16
|
* Initial Python3 supportGravatar Ken Payson2016-06-10
| | | | | | | | Notable Changes: -Convert all str types to byte types at cython layer (ascii encoding) -Use six for packages that have different names in Python2/Python3 -By default, unit tests are compiled/run in Python2.7 and Python3.4 -Ensure MACOSX_BUILD_TARGET is at least 10.7
* Route Python Beta API through Python GA APIGravatar Nathaniel Manista2016-06-06
|
* Added google call creds/per_rpc interop testsGravatar Ken Payson2016-05-18
|
* "sooner" -> "server" typo correctionGravatar Nathaniel Manista2016-05-16
| | | | "... will not have the effect of stopping the sooner later", heh. :-P
* Merge pull request #5701 from bluecmd/unix-socketGravatar Jan Tattermusch2016-05-03
|\ | | | | Allow directly specifiying connection path
* | Remove unnecessary -2016 from copyrightsGravatar Craig Tiller2016-04-05
| |
* | Merge pull request #5700 from bluecmd/ssl-defaultsGravatar Jan Tattermusch2016-03-31
|\ \ | | | | | | ssl_channel_credentials to use None by default
* | | Update copyrightsGravatar Craig Tiller2016-03-31
| | |
* | | Python 3: fix a bytes/str runtime issueGravatar Leifur Halldor Asgeirsson2016-03-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On python3, in grpc._links.service._Kernel._on_service_acceptance_event, there is a runtime TypeError: ``` _on_service_acceptance_event group, method = service_acceptance.method.split('/')[1:3] TypeError: 'str' does not support the buffer interface ``` It is fixed by using a bytes literal (`b'/'`) instead of a string literal. This exposed another issue in grpc.beta._server where an exception was being raised with a bytes literal for a message (a string should be used instead.)
| * | ssl_channel_credentials to use None by defaultGravatar Christian Svensson2016-03-20
| | | | | | | | | | | | | | | | | | | | | | | | Since the default behavior is quite sane, support just calling ssl_channel_credentials() without explicitly specifying ssl_channel_credentials(None, None, None). This changes the pattern ssl_channel_credentials(server_crt, None, None) to ssl_channel_credentials(server_crt) Signed-off-by: Christian Svensson <blue@cmd.nu>
| | * Allow directly specifiying connection pathGravatar Christian Svensson2016-03-20
| |/ | | | | | | | | | | | | | | Make insecure_channel / secure_channel accept port=None and only use the 'host' argument. This enables using UNIX sockets without mangling the path of the socket. Signed-off-by: Christian Svensson <blue@cmd.nu>
* / specify metaclasses in a py3-compatible wayGravatar Leifur Halldor Asgeirsson2016-03-18
|/
* Add metadata auth plugin API supportGravatar Masood Malekghassemi2015-12-07
|
* Fixes to stub and server lifecycleGravatar Nathaniel Manista2015-12-03
| | | | | | Context management is implemented. Stub deletion now cancels all RPCs immediately.
* Bandaid over differences in the C API for Python credentialsGravatar Masood Malekghassemi2015-11-17
|
* Fix erroneous attribute name.Gravatar Nathaniel Manista2015-09-22
| | | | | | This defect was introduced in 9e4d0610ea5e2bb302c. I had thought that this code was exercised in tests but it is bypassed by the use of grpc_test.beta.test_utilities.not_really_secure_channel. :-(
* Make servers and stubs context managersGravatar Nathaniel Manista2015-09-08
| | | | | | | | | | Servers and stubs were context managers in the Alpha API; they may not need to be in the Beta API but it's easy enough to do, eases migration, and probably helps some use cases. For now the stub is given empty __enter__ and __exit__ methods; we can always come back and implement the actual work of context management in a later change.
* Beta API clean-upsGravatar Nathaniel Manista2015-09-05
| | | | | | | | | | | | | | | | (1) Renamed the "beta" module "implementations" because it hasn't been monolithic since "interfaces" was factored out of it a few changes back. (2) Moved ChannelConnectivity from grpc.beta.beta to grpc.beta.interfaces since it is constants that don't depend on the beta implementation. (3) Moved the Server interface definition from grpc.beta.beta to grpc.beta.interfaces since it is an interface. (4) Dropped the "create_" prefix from "create_<...>_channel" functions to better match the other creation functions throughout the codebase.
* gRPC protocol objectsGravatar Nathaniel Manista2015-09-05
|
* UNIMPLEMENTED status for methods not foundGravatar Nathaniel Manista2015-09-02
|