Commit Graph

141 Commits

Author SHA1 Message Date
Scott Williams
4e5ba15fa0 Issue 2410: Suport HTTP body for DELETE operation 2016-03-19 16:51:02 +00:00
wing328
05a8c47a36 update docstring to include default value 2016-03-17 17:43:21 +08:00
wing328
be7a49385f set default user default for ruby, php, python, java 2016-03-15 11:41:47 +08:00
wing328
637bdd2f50 add git_push and gitignore to most client generators 2016-03-12 17:35:25 +08:00
wing328
c51f4c629e to fix #2306 2016-03-04 12:08:57 +08:00
wing328
742e3f5070 remove 'method' from python api 2016-02-28 16:51:50 +08:00
wing328
f68e93c662 better local variable naming for ruby, python and php 2016-02-28 11:48:14 +08:00
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
wing328
59fde5f072 Merge pull request #2060 from wing328/scottrw93_fix_2036
[Python] Fix for Python client upload list of files Issue #2036
2016-02-07 23:47:36 +08:00
Scott Williams
a6fe87a52a Use more appropriate variable name 2016-02-07 23:34:04 +08:00
Scott Williams
b43e1e2c8f Change form_param to list of tuples from dict 2016-02-07 23:33:37 +08:00
Scott Williams
2407c494e7 Change post_param from dict to list of tuples to allow list of files 2016-02-07 23:33:27 +08:00
Scott Williams
833ce25cab Change post_param from dict to list of tuples to allow list of files 2016-02-07 23:33:15 +08:00
Scott Williams
5ac630f7ff Fix for issue #2036, python client wont upload list of files 2016-02-07 23:32:52 +08: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
Bob Pasker
dfae08adc8 in Python, a method as the default value of a formal parameter defines the value when the module is loaded (normally at import time), not when the method is invoked 2015-12-31 18:10:19 -05: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
271661aec7 update python auth to skip empty token/username,password 2015-11-20 17:01:21 +08:00
wing328
b4146d3f9c Merge pull request #1479 from sfurholm/feature/add-support-for-sortParamsByRequiredFlag-config-option-to-csharp-and-python
Added support for sortParamsByRequiredFlag config option to C# and Python
2015-11-05 18:55:55 +08:00
wing328
eebb6c4dd0 rename auth token to access token 2015-11-03 10:17:47 +08:00
wing328
89ec500744 add oauth support in python 2015-11-03 10:14:20 +08:00
Steffen Furholm
5da0b96f17 Added support for sortParamsByRequiredFlag config option to C# and Python 2015-10-31 01:14:17 +01:00
wing328
e270fdcfd9 Merge pull request #1300 from geekerzp/python_client_cert
[Python] Support client certificate file and client key file in TLS/SSL
2015-09-29 14:50:11 +08:00
geekerzp
cf1f113852 Support client certificate file and client key file in TLS/SSL in python client 2015-09-26 16:16:59 +08:00
geekerzp
9b148be57e Fix issue in python client.
If upload only file it will not send file content.
2015-09-25 15:10:32 +08:00
geekerzp
e32272aedb Update log in python client 2015-09-24 10:54:24 +08:00
geekerzp
a26cf60a22 Revert "Revert "[Python] Fix issue in python client""
This reverts commit c59e2b88b1.
2015-09-24 10:08:16 +08:00
wing328
c59e2b88b1 Revert "[Python] Fix issue in python client" 2015-09-24 09:30:49 +08:00
geekerzp
13c079342e Fixed issue #1262 2015-09-23 14:55:46 +08:00
DariusM
65f86dbb0f unicode type forgotten in api_client.mustache for python2, works also with python3 2015-09-17 10:31:40 +02:00
DariusM
cc1c495ea5 unicode type forgotten in api_client.mustache 2015-09-17 10:26:08 +02:00
Justin Chines
85df7c8ed7 [DOC] fix typo in Python api_client template 2015-09-16 22:09:01 -07:00
geekerzp
ade61c0701 Support http body in OPTIONS request in python client 2015-09-15 17:48:59 +08:00
geekerzp
bd63c1d9d9 Support OPTIONS http verb in python client. 2015-09-15 16:40:23 +08:00
sparrow.jang
ba701be2f2 fixed a empty object for response 2015-09-04 15:20:34 +08:00
geekerzp
b3d28f07f1 Add option verify_ssl to switch SSL/TLS verification. 2015-08-25 17:58:14 +08:00
wing328
2251a2f892 fix typo, update documentation for python lib 2015-08-24 21:08:21 +08:00
wing328
1c1571cc3a Merge pull request #1106 from geekerzp/python-query
[Python] Fix issue that missing query parameters in python client.
2015-08-23 17:11:19 +08:00
geekerzp
dc423cc11d Fix issue that Mssing query parameters in python client. 2015-08-22 17:46:13 +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
1c0eb60c71 Fix issues in python client 2015-08-12 11:19:29 +08:00
Marcos Prieto
cad2f961bd Undo unicode on sanitize method. Keep the PR on point 2015-08-06 10:21:56 +02:00
Marcos Prieto
befacc41bd Support for nested dict/list
Checking for `startwith` instead of just `in` to correctly categorize
nested structures.
2015-08-04 11:51:38 +02:00
Marcos Prieto
edebbcb802 Support for unicode headers, ie support for urlib3.util.make_headers 2015-08-04 11:51:25 +02:00
geekerzp
79c988616c Fix issue #1038 2015-07-31 16:01:45 +08:00