This website requires JavaScript.
1a87ea43a1
Merge pull request #40 from boukeversteegh/pr/wrapper-as-output
nat
2020-05-24 19:06:30 +02:00
983e0895a2
Fix services using non-pythonified field names
andrei
2020-05-04 15:12:57 -07:00
4a2baf3f0a
Merge pull request #46 from jameslan/perf/class-cache
nat
2020-05-24 18:38:32 +02:00
8f0caf1db2
Read desired wrapper type directly from wrapper definition
boukeversteegh
2020-05-24 14:50:56 +02:00
c50d9e2fdc
Add test for generating embedded wellknown types in outputs.
boukeversteegh
2020-05-24 14:48:39 +02:00
35548cb43e
Test all supported wrapper types. Add xfail test for unwrapping the value
boukeversteegh
2020-05-24 12:33:36 +02:00
b711d1e11f
Merge remote-tracking branch 'daniel/master' into pr/wrapper-as-output
boukeversteegh
2020-05-24 10:41:40 +02:00
917de09bb6
Replace extra decorator with property and lazy initialization so that it is backward compatible.
James Lan
2020-05-21 17:03:05 -07:00
1f7f39049e
Cache resolved classes for fields, so that there's no new data classes generated while deserializing.
James Lan
2020-05-19 15:42:26 -07:00
3d001a2a1a
Store the class metadata of fields in the class, to improve preformance
James Lan
2020-05-14 15:20:23 -07:00
de61ddab21
Add option to repeatly execute betterproto operations in test, to evaluate performance
James Lan
2020-05-19 10:26:23 -07:00
5e2d9febea
Blacken
Nat Noordanus
2020-05-23 23:37:22 +02:00
f6af077ffe
Merge pull request #51 from boukeversteegh/pr/refactor-tests
nat
2020-05-22 22:32:37 +02:00
92088ebda8
Cleanup
boukeversteegh
2020-05-22 21:16:27 +02:00
c3e3837f71
More concise whitelist logic
boukeversteegh
2020-05-22 21:11:23 +02:00
6bd9c7835c
Fix docs
boukeversteegh
2020-05-22 21:08:08 +02:00
6ec902c1b5
Fix generate noargs. Sorted iteration.
boukeversteegh
2020-05-22 21:03:45 +02:00
960dba2ae8
Renamed docs for standard tests
boukeversteegh
2020-05-22 20:58:53 +02:00
4b4bdefb6f
Add explicit test for casing rules
boukeversteegh
2020-05-22 20:58:31 +02:00
dfa0a56b39
Simplify standard tests by using 1 json per case.
boukeversteegh
2020-05-22 20:58:14 +02:00
dd4873dfba
Re-introducing whitelisting argument to generate.py
boukeversteegh
2020-05-22 20:51:22 +02:00
91f586f7d7
Apply black formatting
Nat Noordanus
2020-05-22 18:46:43 +02:00
33fb83faad
Only import types from grpclib when type checking
Nat Noordanus
2020-05-22 18:41:29 +02:00
77c04414f5
Update readme, add docs for standard tests
boukeversteegh
2020-05-22 16:36:43 +02:00
6969ff7ff6
Add another missing gitignored file, and remove gitignore filter for tests/
boukeversteegh
2020-05-22 15:34:25 +02:00
13e08fdaa8
Add missing file, ignore output files
boukeversteegh
2020-05-22 15:05:52 +02:00
6775632f77
Undo unintentional pipfile update
boukeversteegh
2020-05-22 13:03:52 +02:00
b12f1e4e61
Organize test-cases into folders, extract compatibility test into proper test, support adding test-case specific tests
boukeversteegh
2020-05-22 12:54:01 +02:00
7e9ba0866c
cleanup
Bouke Versteegh
2020-05-21 22:55:26 +02:00
3546f55146
Merge pull request #32 from nat-n/improve_stub
nat
2020-05-21 10:11:45 +02:00
499489f1d3
Support using Google's wrapper types as RPC output values
boukeversteegh
2020-05-10 16:34:20 +02:00
ce9f492f50
Increment version to 1.2.3
v1.2.3
Vasili Syrakis
2020-04-15 14:24:02 +10:00
93a6334015
Update CHANGELOG.md
Vasilios Syrakis
2020-04-15 14:21:30 +10:00
36a14026d8
Fix issue that occurs with naming when proto is double nested (#21 )
Adam Ehlers Nyholm Thomsen
2020-04-15 06:10:43 +02:00
04a2fcd3eb
Merge pull request #31 from nat-n/fix_readme
Vasilios Syrakis
2020-04-14 10:55:18 +10:00
5759e323bd
Add ability to provide metadata, timeout & deadline args to requests
Nat Noordanus
2020-04-12 22:23:10 +02:00
c762c9c549
Add test for generated service stub
Nat Noordanus
2020-04-12 19:33:23 +02:00
582a12577c
Fix test instructions to match pipfile
Nat Noordanus
2020-04-12 18:52:43 +02:00
3616190451
Merge pull request #30 from nat-n/p36_support
Vasilios Syrakis
2020-04-08 09:37:48 +10:00
9b990ee1bd
Make pipenv play nice with the setup-python ci workflow
Nat Noordanus
2020-04-05 15:57:55 +02:00
72a77b0d65
Merge pull request #28 from tanishq-dubey/patch-1
Vasilios Syrakis
2020-04-05 14:52:48 +10:00
b2b36c8575
Apply black formatting
Nat Noordanus
2020-04-03 19:26:31 +02:00
203105f048
Add support for python 3.6
Nat Noordanus
2020-04-03 18:40:02 +02:00
fe11f74227
Update README.md
Tanishq Dubey
2020-03-30 09:50:11 -04:00
dc7a3e9bdf
Update changelog
Daniel G. Taylor
2020-01-30 17:48:12 -08:00
f2e8afc609
Merge pull request #16 from cetanu/patch-1
Daniel G. Taylor
2020-01-30 17:31:25 -08:00
dbd438e682
Update to emit empty lists if asked for defaults
Daniel G. Taylor
2020-01-30 17:28:22 -08:00
dce1c89fbe
Merge branch 'master' into patch-1
Daniel G. Taylor
2020-01-30 17:22:47 -08:00
c78851b1b8
Merge pull request #12 from ulasozguler/master
Daniel G. Taylor
2020-01-30 17:19:34 -08:00
4554d91f89
Exclude empty lists from to_dict output
Vasilios Syrakis
2020-01-29 22:32:35 +11:00
c0170f4d80
Added include_default_values
parameter to to_dict
function.
ulas
2020-01-22 19:16:57 +03:00
559b8833d8
Bump version to 1.2.2
v1.2.2
Daniel G. Taylor
2020-01-09 16:47:25 -08:00
7ccef16579
Mention no proto 2, fixes #6
Daniel G. Taylor
2020-01-09 16:43:45 -08:00
d8785b4622
Merge pull request #10 from qix/master
Daniel G. Taylor
2020-01-09 16:35:06 -08:00
45e7a30300
Merge pull request #7 from ulasozguler/master
Daniel G. Taylor
2020-01-09 16:32:29 -08:00
d7559c22f8
Fix serialization of dataclass constructor parameters
Josh Yudaken
2020-01-08 11:29:45 -05:00
f9c351a98d
propagate casing param recursively.
ulas
2019-12-04 19:28:53 +03:00
feea790116
Bump library version
v1.2.1
Daniel G. Taylor
2019-10-29 22:00:27 -07:00
33f74f6a45
Fix comment indent bug; bump version
Daniel G. Taylor
2019-10-29 21:59:23 -07:00
3d5c12c532
Add changelog, version bump
v1.2.0
Daniel G. Taylor
2019-10-28 21:13:25 -07:00
706bd5a475
Slightly simplify gRPC helper functions
Daniel G. Taylor
2019-10-28 20:58:33 -07:00
52beeb0d73
Fix typo in example
Daniel G. Taylor
2019-10-28 20:44:57 -07:00
7e2dc595db
Autoformat files after rendering
Daniel G. Taylor
2019-10-28 20:44:50 -07:00
6fd9612ee1
Doc updates, version bump for release
v1.1.0
Daniel G. Taylor
2019-10-27 15:43:52 -07:00
ba520f88a4
Install Protobuf include files on CI host
Daniel G. Taylor
2019-10-27 15:40:33 -07:00
b0b64fcbaf
Fix tests attempt 3
Daniel G. Taylor
2019-10-27 15:29:04 -07:00
7900c7c9db
Fix tests
Daniel G. Taylor
2019-10-27 15:21:20 -07:00
fcc273e294
Fix tests
Daniel G. Taylor
2019-10-27 15:18:10 -07:00
f820397751
Add missing optional types test
Daniel G. Taylor
2019-10-27 15:14:06 -07:00
16687211a2
Typing fixes
Daniel G. Taylor
2019-10-27 15:13:51 -07:00
eb5020db2a
Fix bool parsing bug
Daniel G. Taylor
2019-10-27 14:59:38 -07:00
035793aec3
Support wrapper types
Daniel G. Taylor
2019-10-27 14:55:25 -07:00
c79535b614
Support Duration/Timestamp Google well-known types
Daniel G. Taylor
2019-10-26 23:07:30 -07:00
5daf61f64c
Refactor default value code
Daniel G. Taylor
2019-10-25 21:16:32 -07:00
4679c571c3
Fix comment newlines
Daniel G. Taylor
2019-10-25 12:28:26 -07:00
ff8463cf12
Handle fields that clash with Python reserved keywords
Daniel G. Taylor
2019-10-23 21:28:31 -07:00
eff9021529
Some informational output from the plugin, do not overwrite __init__.py
Daniel G. Taylor
2019-10-23 15:07:05 -07:00
d43d5af5ce
Better JSON casing support, renaming messages/fields
Daniel G. Taylor
2019-10-23 15:06:34 -07:00
ef0a1bf50c
Use specific version of pypi publish image
Daniel G. Taylor
2019-10-23 15:03:13 -07:00
0e389abbef
Add Python package long description
v1.0.1
Daniel G. Taylor
2019-10-22 21:31:42 -07:00
109dc5a8a5
Make compiler dependencies optional
v1.0.0
Daniel G. Taylor
2019-10-22 21:08:30 -07:00
5dae20970b
Add OneOf support, rework field detection
Daniel G. Taylor
2019-10-22 20:44:00 -07:00
477e9cdae8
Add CI build badge
Daniel G. Taylor
2019-10-20 23:52:16 -07:00
cfedcab5ab
Add basic oneof tests
Daniel G. Taylor
2019-10-20 22:49:53 -07:00
a33d92d89d
gRPC service/method comments
Daniel G. Taylor
2019-10-20 22:45:40 -07:00
45a6da0fad
CI updates
Daniel G. Taylor
2019-10-20 23:46:50 -07:00
972ed4635a
Try pip user install and path update
Daniel G. Taylor
2019-10-20 23:36:47 -07:00
487bdf9f16
Update CI build
Daniel G. Taylor
2019-10-20 23:32:09 -07:00
1fd24f74fc
Fix CI dependency install
Daniel G. Taylor
2019-10-20 23:26:48 -07:00
f4389a29ec
Add GitHub action build for CI
Daniel G. Taylor
2019-10-20 23:25:18 -07:00
a5fac1c2ae
Support pass-through of unknown fields
Daniel G. Taylor
2019-10-19 22:33:31 -07:00
b5c1f1aa7c
Support JSON base64 bytes and enums as strings
Daniel G. Taylor
2019-10-19 12:31:22 -07:00
7fe64ad8fe
Doc updates, refactor code layout, python package
Daniel G. Taylor
2019-10-18 21:07:12 -07:00
811b54cabb
Better JSON 64-bit int handling, add way to determine whether a message was sent on the wire, various fixes
Daniel G. Taylor
2019-10-17 23:36:18 -07:00
bbceff9341
Merge pull request #4 from danielgtaylor/grpc
Daniel G. Taylor
2019-10-16 23:17:17 -07:00
d93214eccd
Implement basic async gRPC support
Daniel G. Taylor
2019-10-16 22:52:38 -07:00
41a96f65ee
Merge pull request #3 from danielgtaylor/imports
Daniel G. Taylor
2019-10-12 10:16:54 -07:00
130acfffa3
Generate __init__.py files
Daniel G. Taylor
2019-10-12 10:16:05 -07:00
dcb7102d92
Implement imports, simplified default value handling
Daniel G. Taylor
2019-10-12 09:48:03 -07:00
55be5eed69
Merge pull request #2 from danielgtaylor/map-message
Daniel G. Taylor
2019-10-11 07:45:43 -07:00