Skip to content

Commit

Permalink
Generated version 1.2.0
Browse files Browse the repository at this point in the history
This commit was automatically created by a GitHub Action to generate version 1.2.0 of this library.
  • Loading branch information
devexperience committed Jan 31, 2025
1 parent d8d5a83 commit de5a68f
Show file tree
Hide file tree
Showing 11 changed files with 18 additions and 7 deletions.
1 change: 1 addition & 0 deletions docs/MemberResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**actionable_error** | **str** | | [optional]
**aggregated_at** | **str** | | [optional]
**background_aggregation_is_disabled** | **bool** | | [optional]
**connection_status** | **str** | | [optional]
Expand Down
2 changes: 1 addition & 1 deletion mx_platform_python/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
""" # noqa: E501


__version__ = "1.1.0"
__version__ = "1.2.0"

# import apis into sdk package
from mx_platform_python.api.budgets_api import BudgetsApi
Expand Down
2 changes: 1 addition & 1 deletion mx_platform_python/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
self.default_headers[header_name] = header_value
self.cookie = cookie
# Set default User-Agent.
self.user_agent = 'OpenAPI-Generator/1.1.0/python'
self.user_agent = 'OpenAPI-Generator/1.2.0/python'
self.client_side_validation = configuration.client_side_validation

def __enter__(self):
Expand Down
2 changes: 1 addition & 1 deletion mx_platform_python/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ def to_debug_report(self):
"OS: {env}\n"\
"Python Version: {pyversion}\n"\
"Version of the API: 0.1.0\n"\
"SDK Package Version: 1.1.0".\
"SDK Package Version: 1.2.0".\
format(env=sys.platform, pyversion=sys.version)

def get_host_settings(self):
Expand Down
9 changes: 8 additions & 1 deletion mx_platform_python/models/member_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ class MemberResponse(BaseModel):
"""
MemberResponse
"""
actionable_error: Optional[StrictStr] = None
aggregated_at: Optional[StrictStr] = None
background_aggregation_is_disabled: Optional[StrictBool] = None
connection_status: Optional[StrictStr] = None
Expand All @@ -44,7 +45,7 @@ class MemberResponse(BaseModel):
use_cases: Optional[conlist(StrictStr)] = None
user_guid: Optional[StrictStr] = None
user_id: Optional[StrictStr] = None
__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"]
__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"]

class Config:
"""Pydantic configuration"""
Expand All @@ -70,6 +71,11 @@ def to_dict(self):
exclude={
},
exclude_none=True)
# set to None if actionable_error (nullable) is None
# and __fields_set__ contains the field
if self.actionable_error is None and "actionable_error" in self.__fields_set__:
_dict['actionable_error'] = None

# set to None if aggregated_at (nullable) is None
# and __fields_set__ contains the field
if self.aggregated_at is None and "aggregated_at" in self.__fields_set__:
Expand Down Expand Up @@ -172,6 +178,7 @@ def from_dict(cls, obj: dict) -> MemberResponse:
return MemberResponse.parse_obj(obj)

_obj = MemberResponse.parse_obj({
"actionable_error": obj.get("actionable_error"),
"aggregated_at": obj.get("aggregated_at"),
"background_aggregation_is_disabled": obj.get("background_aggregation_is_disabled"),
"connection_status": obj.get("connection_status"),
Expand Down
2 changes: 1 addition & 1 deletion openapi/config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
packageName: mx_platform_python
packageUrl: https://pypi.org/project/mx-platform-python
packageVersion: 1.1.0
packageVersion: 1.2.0
projectName: mx-platform-python
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "mx_platform_python"
version = "1.1.0"
version = "1.2.0"
description = "MX Platform API"
authors = ["MX Platform API <[email protected]>"]
license = "NoLicense"
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools
NAME = "mx-platform-python"
VERSION = "1.1.0"
VERSION = "1.2.0"
PYTHON_REQUIRES = ">=3.7"
REQUIRES = [
"urllib3 >= 1.25.3, < 2.1.0",
Expand Down
1 change: 1 addition & 0 deletions test/test_member_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ def make_instance(self, include_optional) -> MemberResponse:
model = MemberResponse() # noqa: E501
if include_optional:
return MemberResponse(
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\"}',
aggregated_at = '2016-10-13T18:07:57.000Z',
background_aggregation_is_disabled = False,
connection_status = 'CONNECTED',
Expand Down
1 change: 1 addition & 0 deletions test/test_member_response_body.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ def make_instance(self, include_optional) -> MemberResponseBody:
if include_optional:
return MemberResponseBody(
member = mx_platform_python.models.member_response.MemberResponse(
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\"}',
aggregated_at = '2016-10-13T18:07:57.000Z',
background_aggregation_is_disabled = False,
connection_status = 'CONNECTED',
Expand Down
1 change: 1 addition & 0 deletions test/test_members_response_body.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ def make_instance(self, include_optional) -> MembersResponseBody:
return MembersResponseBody(
members = [
mx_platform_python.models.member_response.MemberResponse(
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\"}',
aggregated_at = '2016-10-13T18:07:57.000Z',
background_aggregation_is_disabled = False,
connection_status = 'CONNECTED',
Expand Down

0 comments on commit de5a68f

Please sign in to comment.