Skip to content

Commit 089d079

Browse files
committed
updated python samples
1 parent 4af794b commit 089d079

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+21
-76
lines changed

pom.xml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -839,28 +839,28 @@
839839
<modules>
840840
<!-- <module>samples/server/petstore/erlang-server</module> note: make sample compilation work -->
841841
<!-- clients -->
842-
<module>samples/client/petstore/php/SwaggerClient-php</module>
843-
<module>samples/client/petstore/ruby</module>
844-
<module>samples/client/petstore/scala</module>
845-
<module>samples/client/petstore/akka-scala</module>
846-
<module>samples/client/petstore/javascript</module>
842+
<!--<module>samples/client/petstore/php/SwaggerClient-php</module>-->
843+
<!--<module>samples/client/petstore/ruby</module>-->
844+
<!--<module>samples/client/petstore/scala</module>-->
845+
<!--<module>samples/client/petstore/akka-scala</module>-->
846+
<!--<module>samples/client/petstore/javascript</module>-->
847847
<module>samples/client/petstore/python</module>
848848
<!--<module>samples/client/petstore/python-tornado</module>-->
849849
<module>samples/client/petstore/python-asyncio</module>
850-
<module>samples/client/petstore/typescript-fetch/builds/default</module>
851-
<module>samples/client/petstore/typescript-fetch/builds/es6-target</module>
852-
<module>samples/client/petstore/typescript-fetch/builds/with-npm-version</module>
853-
<module>samples/client/petstore/typescript-fetch/tests/default</module>
854-
<module>samples/client/petstore/typescript-node/npm</module>
850+
<!--<module>samples/client/petstore/typescript-fetch/builds/default</module>-->
851+
<!--<module>samples/client/petstore/typescript-fetch/builds/es6-target</module>-->
852+
<!--<module>samples/client/petstore/typescript-fetch/builds/with-npm-version</module>-->
853+
<!--<module>samples/client/petstore/typescript-fetch/tests/default</module>-->
854+
<!--<module>samples/client/petstore/typescript-node/npm</module>-->
855855
<!-- comment out due to github rate limit error
856856
<module>samples/client/petstore/typescript-angularjs</module>-->
857857
<!-- comment out due to error `npm run build`
858858
<module>samples/client/petstore/typescript-jquery/npm</module>-->
859859
<!--<module>samples/client/petstore/typescript-angular-v2/npm</module>-->
860-
<module>samples/client/petstore/typescript-angular-v4/npm</module>
861-
<module>samples/client/petstore/typescript-angular-v4.3/npm</module>
862-
<module>samples/client/petstore/typescript-angular-v5/npm</module>
863-
<module>samples/client/petstore/typescript-angular-v6/npm</module>
860+
<!--<module>samples/client/petstore/typescript-angular-v4/npm</module>-->
861+
<!--<module>samples/client/petstore/typescript-angular-v4.3/npm</module>-->
862+
<!--<module>samples/client/petstore/typescript-angular-v5/npm</module>-->
863+
<!--<module>samples/client/petstore/typescript-angular-v6/npm</module>-->
864864
<!--<module>samples/client/petstore/bash</module>-->
865865
</modules>
866866
</profile>

samples/client/petstore/python-asyncio/petstore_api/models/cat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
import six
1818

19-
class Cat(Animal):
19+
class Cat(object):
2020
"""NOTE: This class is auto generated by the swagger code generator program.
2121
2222
Do not edit the class manually.

samples/client/petstore/python-asyncio/petstore_api/models/dog.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
import six
1818

19-
class Dog(Animal):
19+
class Dog(object):
2020
"""NOTE: This class is auto generated by the swagger code generator program.
2121
2222
Do not edit the class manually.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.4.3-SNAPSHOT
1+
2.4.9-SNAPSHOT

samples/client/petstore/python-tornado/petstore_api/models/additional_properties_class.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616

1717
import six
1818

19-
2019
class AdditionalPropertiesClass(object):
2120
"""NOTE: This class is auto generated by the swagger code generator program.
2221

samples/client/petstore/python-tornado/petstore_api/models/animal.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616

1717
import six
1818

19-
2019
class Animal(object):
2120
"""NOTE: This class is auto generated by the swagger code generator program.
2221

samples/client/petstore/python-tornado/petstore_api/models/animal_farm.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@
1616

1717
import six
1818

19-
from petstore_api.models.animal import Animal # noqa: F401,E501
20-
21-
2219
class AnimalFarm(object):
2320
"""NOTE: This class is auto generated by the swagger code generator program.
2421

samples/client/petstore/python-tornado/petstore_api/models/api_response.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616

1717
import six
1818

19-
2019
class ApiResponse(object):
2120
"""NOTE: This class is auto generated by the swagger code generator program.
2221

samples/client/petstore/python-tornado/petstore_api/models/array_of_array_of_number_only.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616

1717
import six
1818

19-
2019
class ArrayOfArrayOfNumberOnly(object):
2120
"""NOTE: This class is auto generated by the swagger code generator program.
2221

samples/client/petstore/python-tornado/petstore_api/models/array_of_number_only.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616

1717
import six
1818

19-
2019
class ArrayOfNumberOnly(object):
2120
"""NOTE: This class is auto generated by the swagger code generator program.
2221

0 commit comments

Comments
 (0)