Skip to content

Commit d7cb83e

Browse files
author
Gregory-Bessonov
authored
Release 1.43.1 -- Bug fix for models (#79)
1 parent cc3831b commit d7cb83e

File tree

12,417 files changed

+12418
-49653
lines changed

Some content is hidden

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

12,417 files changed

+12418
-49653
lines changed

docs/changelog.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ A log of changes by version and date.
66
======= ========== =====
77
Version Date Notes
88
======= ========== =====
9+
1.43.1 11/09/2023 Bug fix for models
910
1.43.0 11/02/2023 Added FlashArray 2.27 client
1011
1.42.1 10/10/2023 Fixed import issue in 1.42.0
1112
1.42.0 10/10/2023 Added Pure1 1.2 client to support asset management in Pure1

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
# The short X.Y version
3030
version = u'1.43'
3131
# The full version, including alpha/beta/rc tags
32-
release = u'1.43.0'
32+
release = u'1.43.1'
3333

3434

3535
# -- General configuration ---------------------------------------------------

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "py-pure-client"
3-
version = "1.43.0"
3+
version = "1.43.1"
44
description = "Pure Storage Python clients for FlashArray, FlashBlade, and Pure1 APIs"
55
authors = [
66
{ name = "Pure Storage", email = "[email protected]" }

pypureclient/client_settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
USER_AGENT_TEMPLATE = 'pypureclient/1.43.0/{prod}/{rest_version}/{sys}/{rel}'
1+
USER_AGENT_TEMPLATE = 'pypureclient/1.43.1/{prod}/{rest_version}/{sys}/{rel}'
22

33
def resolve_ssl_validation(verify_ssl):
44
"""

pypureclient/flasharray/FA_2_0/models/api_version_response.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,7 @@ def __setattr__(self, key, value):
5959
def __getattribute__(self, item):
6060
value = object.__getattribute__(self, item)
6161
if isinstance(value, Property):
62-
if item in self.attribute_map:
63-
return None
64-
else:
65-
raise AttributeError(f"{self} object has no attribute '{name}'")
62+
raise AttributeError
6663
else:
6764
return value
6865

pypureclient/flasharray/FA_2_0/models/built_in.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,7 @@ def __setattr__(self, key, value):
6565
def __getattribute__(self, item):
6666
value = object.__getattribute__(self, item)
6767
if isinstance(value, Property):
68-
if item in self.attribute_map:
69-
return None
70-
else:
71-
raise AttributeError(f"{self} object has no attribute '{name}'")
68+
raise AttributeError
7269
else:
7370
return value
7471

pypureclient/flasharray/FA_2_0/models/chap.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,7 @@ def __setattr__(self, key, value):
7777
def __getattribute__(self, item):
7878
value = object.__getattribute__(self, item)
7979
if isinstance(value, Property):
80-
if item in self.attribute_map:
81-
return None
82-
else:
83-
raise AttributeError(f"{self} object has no attribute '{name}'")
80+
raise AttributeError
8481
else:
8582
return value
8683

pypureclient/flasharray/FA_2_0/models/connection.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,7 @@ def __setattr__(self, key, value):
8383
def __getattribute__(self, item):
8484
value = object.__getattribute__(self, item)
8585
if isinstance(value, Property):
86-
if item in self.attribute_map:
87-
return None
88-
else:
89-
raise AttributeError(f"{self} object has no attribute '{name}'")
86+
raise AttributeError
9087
else:
9188
return value
9289

pypureclient/flasharray/FA_2_0/models/connection_get_response.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,7 @@ def __setattr__(self, key, value):
7171
def __getattribute__(self, item):
7272
value = object.__getattribute__(self, item)
7373
if isinstance(value, Property):
74-
if item in self.attribute_map:
75-
return None
76-
else:
77-
raise AttributeError(f"{self} object has no attribute '{name}'")
74+
raise AttributeError
7875
else:
7976
return value
8077

pypureclient/flasharray/FA_2_0/models/connection_post.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,7 @@ def __setattr__(self, key, value):
7070
def __getattribute__(self, item):
7171
value = object.__getattribute__(self, item)
7272
if isinstance(value, Property):
73-
if item in self.attribute_map:
74-
return None
75-
else:
76-
raise AttributeError(f"{self} object has no attribute '{name}'")
73+
raise AttributeError
7774
else:
7875
return value
7976

0 commit comments

Comments
 (0)