Commit Graph
130 Commits
Author SHA1 Message Date
Bouke VersteeghandGitHub 7e9ba0866c cleanup 2020-05-21 22:55:26 +02:00
natandGitHub 3546f55146 Merge pull request #32 from nat-n/improve_stub
Add ability to provide metadata, timeout & deadline args to requests
2020-05-21 10:11:45 +02:00
boukeversteegh 499489f1d3 Support using Google's wrapper types as RPC output values 2020-05-10 16:36:29 +02:00
Vasili Syrakis ce9f492f50 Increment version to 1.2.3 v1.2.3 2020-04-15 14:24:02 +10:00
Vasilios SyrakisandGitHub 93a6334015 Update CHANGELOG.md 2020-04-15 14:21:30 +10:00
Adam Ehlers Nyholm ThomsenandGitHub 36a14026d8 Fix issue that occurs with naming when proto is double nested (#21) 2020-04-15 14:10:43 +10:00
Vasilios SyrakisandGitHub 04a2fcd3eb Merge pull request #31 from nat-n/fix_readme
Fix test instructions to match pipfile
2020-04-14 10:55:18 +10:00
Nat Noordanus 5759e323bd Add ability to provide metadata, timeout & deadline args to requests
This is an enhancement of the ServiceStub abstract class that makes
it more useful by making it possible to pass all arguments supported
by the underlying grpclib request function.

It extends to the existing high level API by allowing values to be
set on the stub instance, and the low level API by allowing values
to be set per call.
2020-04-12 22:23:10 +02:00
Nat Noordanus c762c9c549 Add test for generated service stub
- Create one simple test for generated Service stubs in preparation
for making more changes in this area.
- Add dev dependency on pytest-asyncio in order to use ChannelFor
from grpclib.testing more easily.
- Create a new example proto containing a minimal rpc example.
2020-04-12 19:37:39 +02:00
Nat Noordanus 582a12577c Fix test instructions to match pipfile 2020-04-12 18:52:43 +02:00
Vasilios SyrakisandGitHub 3616190451 Merge pull request #30 from nat-n/p36_support
#27 Add support for python 3.6
2020-04-08 09:37:48 +10:00
Nat Noordanus 9b990ee1bd Make pipenv play nice with the setup-python ci workflow 2020-04-05 15:58:12 +02:00
Vasilios SyrakisandGitHub 72a77b0d65 Merge pull request #28 from tanishq-dubey/patch-1
Update README.md for pip syntax
2020-04-05 14:52:48 +10:00
Nat Noordanus b2b36c8575 Apply black formatting 2020-04-03 19:54:19 +02:00
Nat Noordanus 203105f048 Add support for python 3.6
Changes:
- Update config and docs to reference 3.6
- Add backports of dataclasses and datetime.fromisoformat for python_version<"3.7"
- Support both 3.7 and 3.6 usages of undocumented __origin__ attribute on typing objects
- Make github ci run tests for python 3.6 as well
2020-04-03 19:52:19 +02:00
Tanishq DubeyandGitHub fe11f74227 Update README.md
Add quotes to the README so pip syntax is correct
2020-03-30 09:50:11 -04:00
Daniel G. Taylor dc7a3e9bdf Update changelog 2020-01-30 17:48:12 -08:00
Daniel G. TaylorandGitHub f2e8afc609 Merge pull request #16 from cetanu/patch-1
Exclude empty lists from to_dict output
2020-01-30 17:31:25 -08:00
Daniel G. TaylorandGitHub dbd438e682 Update to emit empty lists if asked for defaults 2020-01-30 17:28:22 -08:00
Daniel G. TaylorandGitHub dce1c89fbe Merge branch 'master' into patch-1 2020-01-30 17:22:47 -08:00
Daniel G. TaylorandGitHub c78851b1b8 Merge pull request #12 from ulasozguler/master
Added `include_default_values` parameter to `to_dict` function
2020-01-30 17:19:34 -08:00
Vasilios SyrakisandGitHub 4554d91f89 Exclude empty lists from to_dict output 2020-01-29 22:32:35 +11:00
ulas c0170f4d80 Added include_default_values parameter to to_dict function. 2020-01-22 19:16:57 +03:00
Daniel G. Taylor 559b8833d8 Bump version to 1.2.2 v1.2.2 2020-01-09 16:47:25 -08:00
Daniel G. Taylor 7ccef16579 Mention no proto 2, fixes #6 2020-01-09 16:43:45 -08:00
Daniel G. TaylorandGitHub d8785b4622 Merge pull request #10 from qix/master
Fix serialization of dataclass constructor parameters
2020-01-09 16:35:06 -08:00
Daniel G. TaylorandGitHub 45e7a30300 Merge pull request #7 from ulasozguler/master
Fix - propagate `casing` param of `to_dict` function recursively
2020-01-09 16:32:29 -08:00
Josh Yudaken d7559c22f8 Fix serialization of dataclass constructor parameters 2020-01-08 11:29:45 -05:00
ulas f9c351a98d propagate casing param recursively. 2019-12-04 19:28:53 +03:00
Daniel G. Taylor feea790116 Bump library version v1.2.1 2019-10-29 22:00:27 -07:00
Daniel G. Taylor 33f74f6a45 Fix comment indent bug; bump version 2019-10-29 21:59:23 -07:00
Daniel G. Taylor 3d5c12c532 Add changelog, version bump v1.2.0 2019-10-28 21:13:25 -07:00
Daniel G. Taylor 706bd5a475 Slightly simplify gRPC helper functions 2019-10-28 20:58:33 -07:00
Daniel G. Taylor 52beeb0d73 Fix typo in example 2019-10-28 20:44:57 -07:00
Daniel G. Taylor 7e2dc595db Autoformat files after rendering 2019-10-28 20:44:50 -07:00
Daniel G. Taylor 6fd9612ee1 Doc updates, version bump for release v1.1.0 2019-10-27 15:43:52 -07:00
Daniel G. Taylor ba520f88a4 Install Protobuf include files on CI host 2019-10-27 15:40:33 -07:00
Daniel G. Taylor b0b64fcbaf Fix tests attempt 3 2019-10-27 15:29:04 -07:00
Daniel G. Taylor 7900c7c9db Fix tests 2019-10-27 15:21:20 -07:00
Daniel G. Taylor fcc273e294 Fix tests 2019-10-27 15:18:10 -07:00
Daniel G. Taylor f820397751 Add missing optional types test 2019-10-27 15:14:06 -07:00
Daniel G. Taylor 16687211a2 Typing fixes 2019-10-27 15:13:51 -07:00
Daniel G. Taylor eb5020db2a Fix bool parsing bug 2019-10-27 14:59:38 -07:00
Daniel G. Taylor 035793aec3 Support wrapper types 2019-10-27 14:55:25 -07:00
Daniel G. Taylor c79535b614 Support Duration/Timestamp Google well-known types 2019-10-26 23:07:30 -07:00
Daniel G. Taylor 5daf61f64c Refactor default value code 2019-10-25 21:16:32 -07:00
Daniel G. Taylor 4679c571c3 Fix comment newlines 2019-10-25 12:28:26 -07:00
Daniel G. Taylor ff8463cf12 Handle fields that clash with Python reserved keywords 2019-10-23 21:28:31 -07:00
Daniel G. Taylor eff9021529 Some informational output from the plugin, do not overwrite __init__.py 2019-10-23 15:07:05 -07:00
Daniel G. Taylor d43d5af5ce Better JSON casing support, renaming messages/fields 2019-10-23 15:06:34 -07:00