Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[python][client] Comment out useless imports #7542

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@

import pprint
import re # noqa: F401

import six
{{#imports}}{{#-first}}
{{/-first}}
{{import}} # noqa: F401,E501
# {{import}} # noqa: F401,E501
{{/imports}}


Expand Down
2 changes: 1 addition & 1 deletion samples/client/petstore/python/.swagger-codegen/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.3.0-SNAPSHOT
2.3.1
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

import pprint
import re # noqa: F401

import six


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

import pprint
import re # noqa: F401

import six


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,9 @@

import pprint
import re # noqa: F401

import six

from petstore_api.models.animal import Animal # noqa: F401,E501
# from petstore_api.models.animal import Animal # noqa: F401,E501


class AnimalFarm(object):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

import pprint
import re # noqa: F401

import six


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

import pprint
import re # noqa: F401

import six


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

import pprint
import re # noqa: F401

import six


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,9 @@

import pprint
import re # noqa: F401

import six

from petstore_api.models.read_only_first import ReadOnlyFirst # noqa: F401,E501
# from petstore_api.models.read_only_first import ReadOnlyFirst # noqa: F401,E501


class ArrayTest(object):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

import pprint
import re # noqa: F401

import six


Expand Down
3 changes: 1 addition & 2 deletions samples/client/petstore/python/petstore_api/models/cat.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,9 @@

import pprint
import re # noqa: F401

import six

from petstore_api.models.animal import Animal # noqa: F401,E501
# from petstore_api.models.animal import Animal # noqa: F401,E501


class Cat(object):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

import pprint
import re # noqa: F401

import six


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

import pprint
import re # noqa: F401

import six


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

import pprint
import re # noqa: F401

import six


Expand Down
3 changes: 1 addition & 2 deletions samples/client/petstore/python/petstore_api/models/dog.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,9 @@

import pprint
import re # noqa: F401

import six

from petstore_api.models.animal import Animal # noqa: F401,E501
# from petstore_api.models.animal import Animal # noqa: F401,E501


class Dog(object):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

import pprint
import re # noqa: F401

import six


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

import pprint
import re # noqa: F401

import six


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,9 @@

import pprint
import re # noqa: F401

import six

from petstore_api.models.outer_enum import OuterEnum # noqa: F401,E501
# from petstore_api.models.outer_enum import OuterEnum # noqa: F401,E501


class EnumTest(object):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

import pprint
import re # noqa: F401

import six


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

import pprint
import re # noqa: F401

import six


Expand Down
1 change: 0 additions & 1 deletion samples/client/petstore/python/petstore_api/models/list.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

import pprint
import re # noqa: F401

import six


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

import pprint
import re # noqa: F401

import six


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,9 @@

import pprint
import re # noqa: F401

import six

from petstore_api.models.animal import Animal # noqa: F401,E501
# from petstore_api.models.animal import Animal # noqa: F401,E501


class MixedPropertiesAndAdditionalPropertiesClass(object):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

import pprint
import re # noqa: F401

import six


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

import pprint
import re # noqa: F401

import six


Expand Down
1 change: 0 additions & 1 deletion samples/client/petstore/python/petstore_api/models/name.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

import pprint
import re # noqa: F401

import six


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

import pprint
import re # noqa: F401

import six


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

import pprint
import re # noqa: F401

import six


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

import pprint
import re # noqa: F401

import six


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,11 @@

import pprint
import re # noqa: F401

import six

from petstore_api.models.outer_boolean import OuterBoolean # noqa: F401,E501
from petstore_api.models.outer_number import OuterNumber # noqa: F401,E501
from petstore_api.models.outer_string import OuterString # noqa: F401,E501
# from petstore_api.models.outer_boolean import OuterBoolean # noqa: F401,E501
# from petstore_api.models.outer_number import OuterNumber # noqa: F401,E501
# from petstore_api.models.outer_string import OuterString # noqa: F401,E501


class OuterComposite(object):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

import pprint
import re # noqa: F401

import six


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

import pprint
import re # noqa: F401

import six


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

import pprint
import re # noqa: F401

import six


Expand Down
5 changes: 2 additions & 3 deletions samples/client/petstore/python/petstore_api/models/pet.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,10 @@

import pprint
import re # noqa: F401

import six

from petstore_api.models.category import Category # noqa: F401,E501
from petstore_api.models.tag import Tag # noqa: F401,E501
# from petstore_api.models.category import Category # noqa: F401,E501
# from petstore_api.models.tag import Tag # noqa: F401,E501


class Pet(object):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

import pprint
import re # noqa: F401

import six


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

import pprint
import re # noqa: F401

import six


Expand Down
1 change: 0 additions & 1 deletion samples/client/petstore/python/petstore_api/models/tag.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

import pprint
import re # noqa: F401

import six


Expand Down
1 change: 0 additions & 1 deletion samples/client/petstore/python/petstore_api/models/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

import pprint
import re # noqa: F401

import six


Expand Down