Commit Graph

26 Commits

Author SHA1 Message Date
Leifur Halldor Asgeirsson 798eeda24e python 2/3 compatible abstract servicers/stubs 2016-03-18 16:37:44 -04:00
David Garcia Quintas ddcb53a9de made codegen targets in build.yaml 2016-01-21 17:48:34 -08:00
Nathaniel Manista 2a9244a9c4 Copyright date fixes for Python generator files
These changes should have been included in dc8c323939.
2016-01-19 16:27:51 +00:00
Nathaniel Manista dc8c323939 Remove Python alpha code generation 2016-01-16 18:28:45 +00:00
Nathaniel Manista f65d3c1102 Beta API clean-ups
(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.
2015-09-05 03:55:19 +00:00
Nathaniel Manista cd9ec0e965 Code generation for Python Beta API 2015-08-31 17:33:15 +00:00
yang-g 9e2f90cd06 headers reorg 2015-08-21 15:35:03 -07:00
Vijay Pai c089743f49 Remove explicit reference to nullptr since this isn't within
grpc namespace and not supported by older compilers. Not sure
why I didn't catch this earlier.
2015-07-27 22:18:13 +00:00
Craig Tiller f75fc12e3a Add a test that headers are properly in build.json
Clean up anything that failed
2015-06-25 06:58:00 -07:00
Nathaniel Manista cd7096deb6 Add a metadata_transformer to the Python stub. 2015-04-06 15:08:36 +00:00
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.
2015-03-30 18:14:52 +00:00
Vijay Pai 82dd80abc6 Elminate range-based fors and work around some other limitations in older compilers 2015-03-24 10:36:08 -07:00
Masood Malekghassemi 65c803b083 Sanitize Python plugin 2015-03-20 16:24:22 -07:00
Masood Malekghassemi 3bb52151dd Make Python package spec indirect
This is part of a change to ease internal usage of GRPC.
2015-03-18 01:41:07 -07:00
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`.
2015-03-17 18:54:24 -07:00
Nathaniel Manista c4fada6e9a Add service name to Python early_adopter 2015-03-16 23:04:09 +00:00
Nicolas "Pixel" Noble 0084179d4c Removing the `using std::string` in the python plugin code. 2015-03-11 19:21:07 +01:00
Nathaniel Manista a60a77b63f Update Python codegen to early_adopter interface
With this change the Python code generated by the Python code generator
uses the grpc.early_adopter package and not the grpc.framework.face
package.
2015-03-02 08:30:49 +00:00
Nicolas "Pixel" Noble 93fa098124 Removing private protobuf header inclusion. 2015-02-27 21:50:58 +01:00
Craig Tiller 4795a3c71b Merge branch 'travis' of github.com:nicolasnoble/grpc into travis-c++ 2015-02-26 17:45:16 -08:00
Craig Tiller cf133f41f8 Make it possible to compile with gcc4.6 2015-02-26 14:27:05 -08:00
Masood Malekghassemi 40e8cbd1ee Fix bugs in Python code generator
Fixes module path finding in the Python code generator and the signatures
of generated servicer methods.
2015-02-26 14:21:21 -08:00
Nicolas "Pixel" Noble e6d72c2b4e Removing emplace from python plugin. 2015-02-25 22:16:45 +01:00
Masood Malekghassemi 59d9ff4d9f Updated Python protoc plugin testing. 2015-02-24 19:11:08 -08:00
Masood Malekghassemi 081f956263 Removed unused/wrong generated Python code imports from Python codegen. 2015-02-19 17:12:57 -08:00
Masood Malekghassemi f8e297a3c0 Added protoc plugin for Python GRPC. 2015-02-19 15:40:08 -08:00