Justin Black
ee0686e13f
Python-exp clean up model classnames ( #7054 )
...
* Adds lazy_import, removes python-exp java class renaming code, partial removal of getPythonClassName call sites
Fixes PythonClientExperimentalTest.java
Python-exp smaples regeneration
Revers makefile
Reverst pom.xml
Fixes model imports in models.__init__
Updates docstring, omits lazy import in additional properties if we dont need it
Improves additional_properties_type assignment if None
Removes getPythonClassName
Fixes python-exp tests
* Removes unused makefiles
2020-07-27 18:35:41 -07:00
Justin Black
0e0f8eb74c
[python-experimental] Removes python2 ( #6991 )
...
* Removes future from python-exp v3 sample
* Removes future from python-exp v2 sample
* Deletes future from remaining python-exp files
* Removes six from python-exp templates
* Removes six from python-exp samples
* Removes mock from python-exp
* Python-exp switched to py3
* Removes python 2.7 for python-exp ci testing
* Requires python>=3.3 for python-exp
* Reverts unnecessary changes to two templates
2020-07-19 09:45:56 -07:00
Justin Black
d8c422398e
[python-experimental] Quicken package loading ( #6437 )
...
* apis and models contains all apis and models, omits loading them in the package namespace
* Runs git add -a and commits it
* Fixes test_outer_enum.py
* Fixes test_fruit.py
* Updates test_fruit and test_mammal
* Fixes test_parent_pet
* Updates test_discard_unknown_properties.py
* Updates test_deserialization.py
* Updates v2 docs md files for apis + the readme
* Fixes v2 tests
* v2 doc updates
* Updates v3 docs
* Reverts python_doc_auth_partial.mustache
* Adds sys to v3 tests
* Adds FILES update
Co-authored-by: Justin Black <justinblack@justins-air.lan>
2020-06-01 00:25:37 -07:00
Justin Black
cbc12543a9
[Python] Allow models to have properties of type self ( #4888 )
...
* Refactors openapi_types into a staticmethod
* Adds a Player model with a self type rpoperty, adds a test to ensure that it is working right
2020-01-10 17:43:35 +08:00