[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
This commit is contained in:
Justin Black
2020-07-19 09:45:56 -07:00
committed by GitHub
parent ed84280108
commit 0e0f8eb74c
447 changed files with 1512 additions and 1859 deletions

View File

@@ -33,7 +33,6 @@ Additional Properties with Array of Enums
### Example
```python
from __future__ import print_function
import time
import petstore_api
from petstore_api.api import fake_api
@@ -98,7 +97,6 @@ Test serialization of ArrayModel
### Example
```python
from __future__ import print_function
import time
import petstore_api
from petstore_api.api import fake_api
@@ -160,7 +158,6 @@ Array of Enums
### Example
```python
from __future__ import print_function
import time
import petstore_api
from petstore_api.api import fake_api
@@ -225,7 +222,6 @@ Test serialization of outer boolean types
### Example
```python
from __future__ import print_function
import time
import petstore_api
from petstore_api.api import fake_api
@@ -288,7 +284,6 @@ Test serialization of object with $refed properties
### Example
```python
from __future__ import print_function
import time
import petstore_api
from petstore_api.api import fake_api
@@ -350,7 +345,6 @@ Health check endpoint
### Example
```python
from __future__ import print_function
import time
import petstore_api
from petstore_api.api import fake_api
@@ -410,7 +404,6 @@ Test serialization of outer number types
### Example
```python
from __future__ import print_function
import time
import petstore_api
from petstore_api.api import fake_api
@@ -474,7 +467,6 @@ Test serialization of object with $refed properties
### Example
```python
from __future__ import print_function
import time
import petstore_api
from petstore_api.api import fake_api
@@ -538,7 +530,6 @@ Test serialization of outer string types
### Example
```python
from __future__ import print_function
import time
import petstore_api
from petstore_api.api import fake_api
@@ -601,7 +592,6 @@ Test serialization of outer enum
### Example
```python
from __future__ import print_function
import time
import petstore_api
from petstore_api.api import fake_api
@@ -665,7 +655,6 @@ For this test, the body for this request much reference a schema named `File`.
### Example
```python
from __future__ import print_function
import time
import petstore_api
from petstore_api.api import fake_api
@@ -725,7 +714,6 @@ No authorization required
### Example
```python
from __future__ import print_function
import time
import petstore_api
from petstore_api.api import fake_api
@@ -789,7 +777,6 @@ To test \"client\" model
### Example
```python
from __future__ import print_function
import time
import petstore_api
from petstore_api.api import fake_api
@@ -854,7 +841,6 @@ Fake endpoint for testing various parameters 假端點 偽のエンドポイン
* Basic Authentication (http_basic_test):
```python
from __future__ import print_function
import time
import petstore_api
from petstore_api.api import fake_api
@@ -961,7 +947,6 @@ To test enum parameters
### Example
```python
from __future__ import print_function
import time
import petstore_api
from petstore_api.api import fake_api
@@ -1040,7 +1025,6 @@ Fake endpoint to test group parameters (optional)
* Bearer (JWT) Authentication (bearer_test):
```python
from __future__ import print_function
import time
import petstore_api
from petstore_api.api import fake_api
@@ -1127,7 +1111,6 @@ test inline additionalProperties
### Example
```python
from __future__ import print_function
import time
import petstore_api
from petstore_api.api import fake_api
@@ -1187,7 +1170,6 @@ test json serialization of form data
### Example
```python
from __future__ import print_function
import time
import petstore_api
from petstore_api.api import fake_api
@@ -1251,7 +1233,6 @@ To test the collection format in query parameters
### Example
```python
from __future__ import print_function
import time
import petstore_api
from petstore_api.api import fake_api