Skip to content

Commit 26b98fc

Browse files
committed
remove strict string checks
1 parent 9abd9cc commit 26b98fc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

method/resources/Entities/Subscriptions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def list(self) -> MethodResponse[EntitySubscriptionListResponse]:
5555
return super(EntitySubscriptionsResource, self)._list()
5656

5757
def create(self, opts: EntitySubscriptionCreateOpts | EntitySubscriptionNamesLiterals) -> MethodResponse[EntitySubscriptionResponseOpts]:
58-
if isinstance(opts, str) and opts in ('connect', 'credit_score', 'attribute'):
58+
if isinstance(opts, str):
5959
opts = {'enroll': opts}
6060
return super(EntitySubscriptionsResource, self)._create(opts)
6161

0 commit comments

Comments
 (0)