Skip to content

Commit de5a68f

Browse files
author
devexperience
committed
Generated version 1.2.0
This commit was automatically created by a GitHub Action to generate version 1.2.0 of this library.
1 parent d8d5a83 commit de5a68f

File tree

11 files changed

+18
-7
lines changed

11 files changed

+18
-7
lines changed

docs/MemberResponse.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
## Properties
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7+
**actionable_error** | **str** | | [optional]
78
**aggregated_at** | **str** | | [optional]
89
**background_aggregation_is_disabled** | **bool** | | [optional]
910
**connection_status** | **str** | | [optional]

mx_platform_python/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
""" # noqa: E501
1515

1616

17-
__version__ = "1.1.0"
17+
__version__ = "1.2.0"
1818

1919
# import apis into sdk package
2020
from mx_platform_python.api.budgets_api import BudgetsApi

mx_platform_python/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
7676
self.default_headers[header_name] = header_value
7777
self.cookie = cookie
7878
# Set default User-Agent.
79-
self.user_agent = 'OpenAPI-Generator/1.1.0/python'
79+
self.user_agent = 'OpenAPI-Generator/1.2.0/python'
8080
self.client_side_validation = configuration.client_side_validation
8181

8282
def __enter__(self):

mx_platform_python/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ def to_debug_report(self):
392392
"OS: {env}\n"\
393393
"Python Version: {pyversion}\n"\
394394
"Version of the API: 0.1.0\n"\
395-
"SDK Package Version: 1.1.0".\
395+
"SDK Package Version: 1.2.0".\
396396
format(env=sys.platform, pyversion=sys.version)
397397

398398
def get_host_settings(self):

mx_platform_python/models/member_response.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ class MemberResponse(BaseModel):
2525
"""
2626
MemberResponse
2727
"""
28+
actionable_error: Optional[StrictStr] = None
2829
aggregated_at: Optional[StrictStr] = None
2930
background_aggregation_is_disabled: Optional[StrictBool] = None
3031
connection_status: Optional[StrictStr] = None
@@ -44,7 +45,7 @@ class MemberResponse(BaseModel):
4445
use_cases: Optional[conlist(StrictStr)] = None
4546
user_guid: Optional[StrictStr] = None
4647
user_id: Optional[StrictStr] = None
47-
__properties = ["aggregated_at", "background_aggregation_is_disabled", "connection_status", "guid", "id", "institution_code", "is_being_aggregated", "is_managed_by_user", "is_manual", "is_oauth", "metadata", "most_recent_job_detail_code", "most_recent_job_detail_text", "name", "oauth_window_uri", "successfully_aggregated_at", "use_cases", "user_guid", "user_id"]
48+
__properties = ["actionable_error", "aggregated_at", "background_aggregation_is_disabled", "connection_status", "guid", "id", "institution_code", "is_being_aggregated", "is_managed_by_user", "is_manual", "is_oauth", "metadata", "most_recent_job_detail_code", "most_recent_job_detail_text", "name", "oauth_window_uri", "successfully_aggregated_at", "use_cases", "user_guid", "user_id"]
4849

4950
class Config:
5051
"""Pydantic configuration"""
@@ -70,6 +71,11 @@ def to_dict(self):
7071
exclude={
7172
},
7273
exclude_none=True)
74+
# set to None if actionable_error (nullable) is None
75+
# and __fields_set__ contains the field
76+
if self.actionable_error is None and "actionable_error" in self.__fields_set__:
77+
_dict['actionable_error'] = None
78+
7379
# set to None if aggregated_at (nullable) is None
7480
# and __fields_set__ contains the field
7581
if self.aggregated_at is None and "aggregated_at" in self.__fields_set__:
@@ -172,6 +178,7 @@ def from_dict(cls, obj: dict) -> MemberResponse:
172178
return MemberResponse.parse_obj(obj)
173179

174180
_obj = MemberResponse.parse_obj({
181+
"actionable_error": obj.get("actionable_error"),
175182
"aggregated_at": obj.get("aggregated_at"),
176183
"background_aggregation_is_disabled": obj.get("background_aggregation_is_disabled"),
177184
"connection_status": obj.get("connection_status"),

openapi/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
22
packageName: mx_platform_python
33
packageUrl: https://pypi.org/project/mx-platform-python
4-
packageVersion: 1.1.0
4+
packageVersion: 1.2.0
55
projectName: mx-platform-python

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "mx_platform_python"
3-
version = "1.1.0"
3+
version = "1.2.0"
44
description = "MX Platform API"
55
authors = ["MX Platform API <[email protected]>"]
66
license = "NoLicense"

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
# prerequisite: setuptools
2222
# http://pypi.python.org/pypi/setuptools
2323
NAME = "mx-platform-python"
24-
VERSION = "1.1.0"
24+
VERSION = "1.2.0"
2525
PYTHON_REQUIRES = ">=3.7"
2626
REQUIRES = [
2727
"urllib3 >= 1.25.3, < 2.1.0",

test/test_member_response.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ def make_instance(self, include_optional) -> MemberResponse:
3636
model = MemberResponse() # noqa: E501
3737
if include_optional:
3838
return MemberResponse(
39+
actionable_error = '{\"error_type\": \"MEMBER\", \"error_code\": 1000, \"error_message\": \"This Member has no eligible checking, savings, or money market accounts.\", \"user_message\": \"We could not find any accounts eligible for transfers. Please link a checking or savings account.\", \"locale\": \"en\"}',
3940
aggregated_at = '2016-10-13T18:07:57.000Z',
4041
background_aggregation_is_disabled = False,
4142
connection_status = 'CONNECTED',

test/test_member_response_body.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ def make_instance(self, include_optional) -> MemberResponseBody:
3737
if include_optional:
3838
return MemberResponseBody(
3939
member = mx_platform_python.models.member_response.MemberResponse(
40+
actionable_error = '{\"error_type\": \"MEMBER\", \"error_code\": 1000, \"error_message\": \"This Member has no eligible checking, savings, or money market accounts.\", \"user_message\": \"We could not find any accounts eligible for transfers. Please link a checking or savings account.\", \"locale\": \"en\"}',
4041
aggregated_at = '2016-10-13T18:07:57.000Z',
4142
background_aggregation_is_disabled = False,
4243
connection_status = 'CONNECTED',

0 commit comments

Comments
 (0)