33from typing import Dict , Union , List , Iterable
44from urllib .parse import quote_plus
55
6- from dill .pointers import parent
7-
86from threescale_api import auth
97from threescale_api import utils
108from threescale_api import errors
@@ -276,7 +274,9 @@ def pending(self, entity_id, **kwargs) -> 'Account':
276274 return self .set_state (entity_id = entity_id , state = 'make_pending' , ** kwargs )
277275
278276class ServiceSubscriptions (DefaultClient ):
279- def __init__ (self , * args , entity_name = 'service_subscription' , entity_collection = 'service_subscriptions' ,
277+
278+ def __init__ (self , * args , entity_name = 'service_subscription' ,
279+ entity_collection = 'service_subscriptions' ,
280280 per_page = None , ** kwargs ):
281281 super ().__init__ (* args , entity_name = entity_name ,
282282 entity_collection = entity_collection , ** kwargs )
@@ -299,7 +299,9 @@ def change_plan_service_subscription(self, entity_id: int, plan_id: int, **kwarg
299299 return instance
300300
301301class ServicePlans (DefaultClient ):
302- def __init__ (self , * args , entity_name = 'service_plan' , entity_collection = 'service_plans' , per_page = None , ** kwargs ):
302+
303+ def __init__ (self , * args , entity_name = 'service_plan' ,
304+ entity_collection = 'service_plans' , per_page = None , ** kwargs ):
303305 super ().__init__ (* args , entity_name = entity_name ,
304306 entity_collection = entity_collection , ** kwargs )
305307
@@ -1194,6 +1196,7 @@ def backend(self) -> 'Backend':
11941196 return self .metric .parent
11951197
11961198class ServiceSubscription (DefaultResource ):
1199+
11971200 def __init__ (self , ** kwargs ):
11981201 super ().__init__ (** kwargs )
11991202
@@ -1525,6 +1528,7 @@ def test_request(self, relpath=None, verify: bool = None):
15251528 return client .get (relpath )
15261529
15271530class ServicePlan (DefaultResource ):
1531+
15281532 def __init__ (self , ** kwargs ):
15291533 super ().__init__ (** kwargs )
15301534
0 commit comments