Skip to content

Commit 70ee676

Browse files
authored
adds entity attributes subscription (#50)
* adds entity attributes subscription * fixed test
1 parent 28b836f commit 70ee676

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

method/resources/Entities/Subscriptions.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77

88
EntitySubscriptionNamesLiterals = Literal[
99
'connect',
10-
'credit_score'
10+
'credit_score',
11+
'attribute'
1112
]
1213

1314

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
setup(
44
name='method-python',
5-
version='1.1.9',
5+
version='1.1.10',
66
description='Python library for the Method API',
77
long_description='Python library for the Method API',
88
long_description_content_type='text/x-rst',

test/resources/Entity_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -765,7 +765,7 @@ def test_retrieve_entity_product_list():
765765
'status': 'available',
766766
'status_error': None,
767767
'latest_request_id': entities_retrieve_product_list_response.get('attribute', {}).get('latest_request_id', None),
768-
'is_subscribable': False,
768+
'is_subscribable': True,
769769
'created_at': entities_retrieve_product_list_response.get('attribute', {}).get('created_at', ''),
770770
'updated_at': entities_retrieve_product_list_response.get('attribute', {}).get('updated_at', ''),
771771
},
@@ -831,7 +831,7 @@ def test_retrieve_entity_product():
831831
'status': 'available',
832832
'status_error': None,
833833
'latest_request_id': entities_retrieve_product_list_response.get('attribute', {}).get('latest_request_id', None),
834-
'is_subscribable': False,
834+
'is_subscribable': True,
835835
'created_at': entities_retrieve_product_list_response.get('attribute', {}).get('created_at', ''),
836836
'updated_at': entities_retrieve_product_list_response.get('attribute', {}).get('updated_at', ''),
837837
}

0 commit comments

Comments
 (0)