Nat Noordanus
|
d7d277eb0d
|
Remove typo from Pipfile and update Pipfile.lock
|
2020-05-27 11:52:18 +02:00 |
|
Nat Noordanus
|
3860c0ab11
|
Add task to run black --check in ci & update README
|
2020-05-27 11:52:10 +02:00 |
|
Nat Noordanus
|
cd1c2dc3b5
|
Rename template file to avoid confusing black or other build tools
|
2020-05-27 11:25:19 +02:00 |
|
Nat Noordanus
|
be2a24d15c
|
blacken
|
2020-05-27 11:25:00 +02:00 |
|
Vasilios Syrakis
|
a5effb219a
|
Release 1.2.4 (#71)
Co-authored-by: nat <n@natn.me>
v1.2.4
|
2020-05-26 22:17:55 +02:00 |
|
Bouke Versteegh
|
2d57f0d122
|
Merge pull request #67 from danielgtaylor/nat-n-patch-1
Enforce utf-8 for reading the readme in setup.py
|
2020-05-25 21:57:12 +02:00 |
|
nat
|
a68505b80e
|
Enforce utf-8 for reading the readme
Fixes failing installation issue #66
|
2020-05-25 17:53:13 +02:00 |
|
nat
|
2f9497e064
|
Merge pull request #55 from boukeversteegh/pr/xfail-tests
Add intentionally failing test-cases for unimplemented bug-fixes
|
2020-05-25 09:54:26 +02:00 |
|
boukeversteegh
|
33964b883e
|
Do not use mutable defaults
|
2020-05-25 00:35:43 +02:00 |
|
boukeversteegh
|
ec7574086d
|
Add xfail test-case to for future circular dependency scenario
|
2020-05-24 20:35:10 +02:00 |
|
boukeversteegh
|
8a42027bc9
|
Improve failing test-case for issue #64
|
2020-05-24 20:33:48 +02:00 |
|
boukeversteegh
|
71737cf696
|
Test case for issue #63
|
2020-05-24 20:29:32 +02:00 |
|
boukeversteegh
|
659ddd9c44
|
Working test case for oneof
|
2020-05-24 20:29:19 +02:00 |
|
boukeversteegh
|
5b6997870a
|
Test case for issue #61
|
2020-05-24 20:27:12 +02:00 |
|
boukeversteegh
|
cdf7645722
|
Test case for issue #60
|
2020-05-24 20:26:47 +02:00 |
|
boukeversteegh
|
ca20069ca3
|
Test case for issue #59
|
2020-05-24 20:26:13 +02:00 |
|
boukeversteegh
|
59a4a7da43
|
Test case for issue #58
|
2020-05-24 20:25:29 +02:00 |
|
boukeversteegh
|
15af4367e5
|
Test case for issue #57
|
2020-05-24 20:24:55 +02:00 |
|
boukeversteegh
|
ec5683e572
|
Test Service instantiation as part of standard test-case
|
2020-05-24 20:02:41 +02:00 |
|
boukeversteegh
|
20150fdcf3
|
Cleanup
|
2020-05-24 19:58:49 +02:00 |
|
boukeversteegh
|
d11b7d04c5
|
Document XFAIL tests
|
2020-05-24 19:58:35 +02:00 |
|
boukeversteegh
|
e2d35f4696
|
Support xfail on test-case level, support running tests on subsets.
|
2020-05-24 19:58:06 +02:00 |
|
boukeversteegh
|
c3f08b9ef2
|
Clear output directories before generating python files
|
2020-05-24 19:54:53 +02:00 |
|
boukeversteegh
|
24d44898f4
|
Only import reference module when needed. Some reference modules generate bad imports and cannot be loaded.
|
2020-05-24 19:53:14 +02:00 |
|
boukeversteegh
|
074448c996
|
Restore accidentally removed binary equality test
|
2020-05-24 19:52:14 +02:00 |
|
nat
|
0fe557bd3c
|
Merge pull request #52 from nat-n/fix_type_imports
Only import types from grpclib when type checking
|
2020-05-24 19:09:08 +02:00 |
|
nat
|
1a87ea43a1
|
Merge pull request #40 from boukeversteegh/pr/wrapper-as-output
Support using Google's wrapper types as RPC output values
|
2020-05-24 19:06:30 +02:00 |
|
andrei
|
983e0895a2
|
Fix services using non-pythonified field names
|
2020-05-24 18:46:36 +02:00 |
|
nat
|
4a2baf3f0a
|
Merge pull request #46 from jameslan/perf/class-cache
Improve performance of serialize/deserialize by caching type information of fields in class
|
2020-05-24 18:38:32 +02:00 |
|
boukeversteegh
|
8f0caf1db2
|
Read desired wrapper type directly from wrapper definition
|
2020-05-24 14:50:56 +02:00 |
|
boukeversteegh
|
c50d9e2fdc
|
Add test for generating embedded wellknown types in outputs.
|
2020-05-24 14:48:39 +02:00 |
|
boukeversteegh
|
35548cb43e
|
Test all supported wrapper types. Add xfail test for unwrapping the value
|
2020-05-24 12:34:37 +02:00 |
|
boukeversteegh
|
b711d1e11f
|
Merge remote-tracking branch 'daniel/master' into pr/wrapper-as-output
|
2020-05-24 10:41:40 +02:00 |
|
James Lan
|
917de09bb6
|
Replace extra decorator with property and lazy initialization so that it is backward compatible.
|
2020-05-23 17:36:29 -07:00 |
|
James Lan
|
1f7f39049e
|
Cache resolved classes for fields, so that there's no new data classes generated while deserializing.
|
2020-05-23 17:36:29 -07:00 |
|
James Lan
|
3d001a2a1a
|
Store the class metadata of fields in the class, to improve preformance
Cached data include,
- lookup table between groups and fields of "oneof" fields
- default value creator of each field
- type hint of each field
|
2020-05-23 17:36:29 -07:00 |
|
James Lan
|
de61ddab21
|
Add option to repeatly execute betterproto operations in test, to evaluate performance
|
2020-05-23 17:36:29 -07:00 |
|
Nat Noordanus
|
5e2d9febea
|
Blacken
|
2020-05-23 23:37:22 +02:00 |
|
nat
|
f6af077ffe
|
Merge pull request #51 from boukeversteegh/pr/refactor-tests
Reorganize tests and add some extra documentation.
|
2020-05-22 22:32:37 +02:00 |
|
boukeversteegh
|
92088ebda8
|
Cleanup
|
2020-05-22 21:18:44 +02:00 |
|
boukeversteegh
|
c3e3837f71
|
More concise whitelist logic
|
2020-05-22 21:11:23 +02:00 |
|
boukeversteegh
|
6bd9c7835c
|
Fix docs
|
2020-05-22 21:08:08 +02:00 |
|
boukeversteegh
|
6ec902c1b5
|
Fix generate noargs. Sorted iteration.
|
2020-05-22 21:03:45 +02:00 |
|
boukeversteegh
|
960dba2ae8
|
Renamed docs for standard tests
|
2020-05-22 20:58:53 +02:00 |
|
boukeversteegh
|
4b4bdefb6f
|
Add explicit test for casing rules
|
2020-05-22 20:58:31 +02:00 |
|
boukeversteegh
|
dfa0a56b39
|
Simplify standard tests by using 1 json per case.
|
2020-05-22 20:58:14 +02:00 |
|
boukeversteegh
|
dd4873dfba
|
Re-introducing whitelisting argument to generate.py
|
2020-05-22 20:51:22 +02:00 |
|
Nat Noordanus
|
91f586f7d7
|
Apply black formatting
|
2020-05-22 18:46:43 +02:00 |
|
Nat Noordanus
|
33fb83faad
|
Only import types from grpclib when type checking
|
2020-05-22 18:41:29 +02:00 |
|
boukeversteegh
|
77c04414f5
|
Update readme, add docs for standard tests
|
2020-05-22 16:36:43 +02:00 |
|