Skip to content

Commit ab1dfc1

Browse files
author
Agathe Guillemot
committed
Fix coding style issues (also in apideployer.py
1 parent 2c3dbba commit ab1dfc1

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

dataikuapi/dss/apideployer.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import json
22
from .future import DSSFuture
33

4+
45
class DSSAPIDeployer(object):
56
"""
67
Handle to interact with the API Deployer.
@@ -10,7 +11,7 @@ class DSSAPIDeployer(object):
1011
def __init__(self, client):
1112
self.client = client
1213

13-
def list_deployments(self, as_objects = True):
14+
def list_deployments(self, as_objects=True):
1415
"""
1516
Lists deployments on the API Deployer
1617
@@ -97,7 +98,7 @@ def get_infra(self, infra_id):
9798
"""
9899
return DSSAPIDeployerInfra(self.client, infra_id)
99100

100-
def list_services(self, as_objects = True):
101+
def list_services(self, as_objects=True):
101102
"""
102103
Lists API services on the API Deployer
103104

dataikuapi/dss/projectdeployer.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
from .future import DSSFuture
22

3+
34
class DSSProjectDeployer(object):
45
"""
56
Handle to interact with the Project Deployer.
@@ -9,7 +10,7 @@ class DSSProjectDeployer(object):
910
def __init__(self, client):
1011
self.client = client
1112

12-
def list_deployments(self, as_objects = True):
13+
def list_deployments(self, as_objects=True):
1314
"""
1415
Lists deployments on the Project Deployer
1516
@@ -94,7 +95,7 @@ def get_infra(self, infra_id):
9495
"""
9596
return DSSProjectDeployerInfra(self.client, infra_id)
9697

97-
def list_projects(self, as_objects = True):
98+
def list_projects(self, as_objects=True):
9899
"""
99100
Lists published projects on the Project Deployer
100101

0 commit comments

Comments
 (0)