Skip to content

Commit f5ce5cb

Browse files
committed
change param name to opts
1 parent b1c2a4c commit f5ce5cb

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

method/resources/Entities/Connect.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,24 +56,24 @@ class EntityConnectResource(Resource):
5656
def __init__(self, config: Configuration):
5757
super(EntityConnectResource, self).__init__(config.add_path("connect"))
5858

59-
def retrieve(self, cxn_id: str, params: Optional[ConnectExpandOpts] = None) -> MethodResponse[EntityConnect]:
60-
return super(EntityConnectResource, self)._get_with_sub_path_and_params(cxn_id, params=params)
59+
def retrieve(self, cxn_id: str, opts: Optional[ConnectExpandOpts] = None) -> MethodResponse[EntityConnect]:
60+
return super(EntityConnectResource, self)._get_with_sub_path_and_params(cxn_id, params=opts)
6161

6262
def list(
63-
self, params: Optional[ConnectResourceListOpts] = None
63+
self, opts: Optional[ConnectResourceListOpts] = None
6464
) -> MethodResponse[List[EntityConnect]]:
65-
return super(EntityConnectResource, self)._list(params)
65+
return super(EntityConnectResource, self)._list(opts)
6666

6767
def create(
6868
self,
6969
products: Optional[List[AccountProductsEligibleForAutomaticExecutionLiteral]] = None,
7070
subscriptions: Optional[List[AccountSubscriptionsEligibleForAutomaticExecutionLiteral]] = None,
71-
params: Optional[ConnectExpandOpts] = None
71+
opts: Optional[ConnectExpandOpts] = None
7272
) -> MethodResponse[EntityConnect]:
7373
data = {}
7474
if products:
7575
data["products"] = products
7676
if subscriptions:
7777
data["subscriptions"] = subscriptions
78-
return super(EntityConnectResource, self)._create(data=data, params=params)
78+
return super(EntityConnectResource, self)._create(data=data, params=opts)
7979

0 commit comments

Comments
 (0)