11 Commits

Author SHA1 Message Date
William Cheng
b8ccd25a79
[python-nextgen] Various fixes reported by pylint (#15309)
* various pylint fixes

* rearrange test

* Revert "rearrange test"

This reverts commit 24d777a8a87161b6fc36527f6c1a06c03216bb64.
2023-04-26 17:12:10 +08:00
William Cheng
52417f0597
use Field(...) for required properties in python-nextgen (#15290) 2023-04-24 16:07:09 +08:00
William Cheng
70a6106626
add null check in string with regular expression (#15233) 2023-04-16 23:46:17 +08:00
William Cheng
07227d4650
add support for union of strictfloat and strictint (#15124) 2023-04-06 11:51:12 +08:00
William Cheng
0dc84520e7
[python-nextgen] use __fields_set__ to determine if the field is needed in to_dict (#15086)
* use __fields_set__ to determine if the field is needed

* fix tests
2023-04-01 10:23:38 +08:00
William Cheng
3ccd9be080
remove absolute_import (#15071) 2023-03-30 10:07:15 +08:00
Tomáš Karásek
aa066ab6fa
[python-nextgen] Fix validation of list of enums (#14809)
* [python-nextgen] check enum arrady values better

* [python-nextgen] re-generate exapmles for #14809
2023-03-18 20:27:26 +08:00
William Cheng
d497c3d087
[python-nextgen] Better docstring/documentation (#14880)
* better docstring/documentation in python nextgen client

* update instruction in test files
2023-03-06 21:22:43 +08:00
William Cheng
b5d4fa9d27
fix unique items in python nextgen client (#14816) 2023-02-26 10:21:26 +08:00
William Cheng
d400d7fb15
Better handling of x-nullable in codegen property (#14800)
* add failed tests

* add logic to handle x-nullable in property

* update samples

* update test
2023-02-24 15:24:34 +08:00
William Cheng
110460b71a
[python-nextgen] better datetime support in parameters (#14621)
* add allowStringInDateTimeParameters option

* add tests

* add files

* add tests for datetime query parameters

* fix file anme

* trigger build

* fix pytest

* install test requirement

* trigger build

* break build

* add new files

* fix Locale.ROOT

* update doc
2023-02-12 21:11:29 +08:00