Skip to content

Commit 7073972

Browse files
committed
Bump openapi-generator to v5.2.0
Minor Python 2/3 changes. Signed-off-by: Stephen Finucane <[email protected]>
1 parent 64f0c73 commit 7073972

File tree

723 files changed

+3608
-1445
lines changed

Some content is hidden

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

723 files changed

+3608
-1445
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Requested Commit/Tag : v5.1.0
2-
Actual Commit : e023eaa8218da996140148161978953cc698d014
1+
Requested Commit/Tag : v5.2.0
2+
Actual Commit : 90f7bcd909db20fe2030f2fe53e0d1229a02b9e6
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
5.1.0
1+
5.2.0

kubernetes/client/models/admissionregistration_v1_service_reference.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@
1010
"""
1111

1212

13-
import inspect
13+
try:
14+
from inspect import getfullargspec
15+
except ImportError:
16+
from inspect import getargspec as getfullargspec
1417
import pprint
1518
import re # noqa: F401
1619
import six
@@ -167,7 +170,7 @@ def to_dict(self, serialize=False):
167170

168171
def convert(x):
169172
if hasattr(x, "to_dict"):
170-
args = inspect.getargspec(x.to_dict).args
173+
args = getfullargspec(x.to_dict).args
171174
if len(args) == 1:
172175
return x.to_dict()
173176
else:

kubernetes/client/models/admissionregistration_v1_webhook_client_config.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@
1010
"""
1111

1212

13-
import inspect
13+
try:
14+
from inspect import getfullargspec
15+
except ImportError:
16+
from inspect import getargspec as getfullargspec
1417
import pprint
1518
import re # noqa: F401
1619
import six
@@ -138,7 +141,7 @@ def to_dict(self, serialize=False):
138141

139142
def convert(x):
140143
if hasattr(x, "to_dict"):
141-
args = inspect.getargspec(x.to_dict).args
144+
args = getfullargspec(x.to_dict).args
142145
if len(args) == 1:
143146
return x.to_dict()
144147
else:

kubernetes/client/models/apiextensions_v1_service_reference.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@
1010
"""
1111

1212

13-
import inspect
13+
try:
14+
from inspect import getfullargspec
15+
except ImportError:
16+
from inspect import getargspec as getfullargspec
1417
import pprint
1518
import re # noqa: F401
1619
import six
@@ -167,7 +170,7 @@ def to_dict(self, serialize=False):
167170

168171
def convert(x):
169172
if hasattr(x, "to_dict"):
170-
args = inspect.getargspec(x.to_dict).args
173+
args = getfullargspec(x.to_dict).args
171174
if len(args) == 1:
172175
return x.to_dict()
173176
else:

kubernetes/client/models/apiextensions_v1_webhook_client_config.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@
1010
"""
1111

1212

13-
import inspect
13+
try:
14+
from inspect import getfullargspec
15+
except ImportError:
16+
from inspect import getargspec as getfullargspec
1417
import pprint
1518
import re # noqa: F401
1619
import six
@@ -138,7 +141,7 @@ def to_dict(self, serialize=False):
138141

139142
def convert(x):
140143
if hasattr(x, "to_dict"):
141-
args = inspect.getargspec(x.to_dict).args
144+
args = getfullargspec(x.to_dict).args
142145
if len(args) == 1:
143146
return x.to_dict()
144147
else:

kubernetes/client/models/apiregistration_v1_service_reference.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@
1010
"""
1111

1212

13-
import inspect
13+
try:
14+
from inspect import getfullargspec
15+
except ImportError:
16+
from inspect import getargspec as getfullargspec
1417
import pprint
1518
import re # noqa: F401
1619
import six
@@ -137,7 +140,7 @@ def to_dict(self, serialize=False):
137140

138141
def convert(x):
139142
if hasattr(x, "to_dict"):
140-
args = inspect.getargspec(x.to_dict).args
143+
args = getfullargspec(x.to_dict).args
141144
if len(args) == 1:
142145
return x.to_dict()
143146
else:

kubernetes/client/models/authentication_v1_token_request.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@
1010
"""
1111

1212

13-
import inspect
13+
try:
14+
from inspect import getfullargspec
15+
except ImportError:
16+
from inspect import getargspec as getfullargspec
1417
import pprint
1518
import re # noqa: F401
1619
import six
@@ -188,7 +191,7 @@ def to_dict(self, serialize=False):
188191

189192
def convert(x):
190193
if hasattr(x, "to_dict"):
191-
args = inspect.getargspec(x.to_dict).args
194+
args = getfullargspec(x.to_dict).args
192195
if len(args) == 1:
193196
return x.to_dict()
194197
else:

kubernetes/client/models/core_v1_endpoint_port.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@
1010
"""
1111

1212

13-
import inspect
13+
try:
14+
from inspect import getfullargspec
15+
except ImportError:
16+
from inspect import getargspec as getfullargspec
1417
import pprint
1518
import re # noqa: F401
1619
import six
@@ -166,7 +169,7 @@ def to_dict(self, serialize=False):
166169

167170
def convert(x):
168171
if hasattr(x, "to_dict"):
169-
args = inspect.getargspec(x.to_dict).args
172+
args = getfullargspec(x.to_dict).args
170173
if len(args) == 1:
171174
return x.to_dict()
172175
else:

kubernetes/client/models/core_v1_event.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@
1010
"""
1111

1212

13-
import inspect
13+
try:
14+
from inspect import getfullargspec
15+
except ImportError:
16+
from inspect import getargspec as getfullargspec
1417
import pprint
1518
import re # noqa: F401
1619
import six
@@ -521,7 +524,7 @@ def to_dict(self, serialize=False):
521524

522525
def convert(x):
523526
if hasattr(x, "to_dict"):
524-
args = inspect.getargspec(x.to_dict).args
527+
args = getfullargspec(x.to_dict).args
525528
if len(args) == 1:
526529
return x.to_dict()
527530
else:

0 commit comments

Comments
 (0)