Commit Graph

27 Commits

Author SHA1 Message Date
Matan Goldman
341f862569 change the order of the elif inside to_dict for better performance (dictionary/additionalProperties is less probable) 2016-02-07 21:46:33 +02:00
Matan Goldman
2ddbfa8218 Now it should be fully compatible with python 2.7 and 3.4 2016-02-07 21:46:33 +02:00
Matan Goldman
32d2a4d4cb fix python 3.4 compatabilty 2016-02-07 16:23:12 +02:00
Matan Goldman
ec4c5502f1 fix identation 2016-02-07 14:21:31 +02:00
Matan Goldman
ab39eff8a1 Add additionalProperties handling in python code genrator by adding dictionary handling in model's to_dict() method 2016-02-07 13:11:28 +02:00
Ron
3a2ad9e2e4 Happy new year! 2016-01-06 16:04:16 -08:00
wing328
bf3c1d36d5 add default value to python model 2015-12-09 15:34:39 +08:00
wing328
b592819e3b add eq for python, update test case 2015-11-24 17:36:38 +08:00
wing328
2251a2f892 fix typo, update documentation for python lib 2015-08-24 21:08:21 +08:00
geekerzp
894d571ea5 Change reserved word handling in python client.
* First, remove the beginning underscores.
* Then, append underscore if the var is reserved word or number.
2015-08-19 18:05:47 +08:00
geekerzp
79c988616c Fix issue #1038 2015-07-31 16:01:45 +08:00
geekerzp
b51ef77401 Remove #!/usr/bin/env python from python client 2015-07-28 11:25:19 +08:00
geekerzp
3265ec0f72 Refactor python client. 2015-07-28 11:25:19 +08:00
geekerzp
b9287cf417 Add to_str method in python client and add test cases. 2015-07-22 11:00:51 +08:00
geekerzp
60d6cd744a Format python client using pep8 2015-07-18 14:30:19 +08:00
geekerzp
f0e09ae33a Add enum support for model property of python client 2015-07-16 17:24:42 +08:00
wing328
0dd8670724 rollback python template 2015-06-09 12:22:59 +08:00
Ron
1c2d0656b0 Code reformatting 2015-06-07 11:56:08 -04:00
Ron
96107193e9 updated reverb references 2015-06-07 11:18:49 -04:00
Tony Tam
715a9b8678 merged 2015-05-20 22:50:41 -07:00
geekerzp
9ff0d90853 Updated python models.
Overwrite the instance method `__repr__`,
make the `pprint` method output properties infos of the models.
2015-05-20 22:05:34 +08:00
geekerzp
d798b943f5 added python 2.7 and python 3.4 test environments 2015-05-15 14:38:06 +08:00
geekerzp
86e48ceef8 refactor python client using urllib3 2015-05-14 10:45:05 +08:00
geekerzp
24d5dc093f Support unicode string in python client. 2015-04-07 15:33:05 +08:00
geekerzp
07237f8eb9 add model attribute name json key mapping in python clent 2015-03-24 11:55:20 +08:00
Tony Tam
f942e82691 updated templates 2015-02-15 18:06:50 -08:00
Tony Tam
6bb2e4ccb4 moved to modules per #411 2015-02-05 07:17:38 -08:00