Skip to content

Commit

Permalink
Disable the pylint of session init function
Browse files Browse the repository at this point in the history
Signed-off-by: Ye Cao <caoye.cao@alibaba-inc.com>
  • Loading branch information
dashanji committed May 18, 2023
1 parent b3992e0 commit 11a3c23
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
14 changes: 7 additions & 7 deletions coordinator/gscoordinator/kubernetes_launcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -866,12 +866,12 @@ def _delete_dangling_coordinator(self):

def _need_to_create_vineyard_cluster(self):
return (
self._with_vineyard
and not self._with_dataset
and not self._with_analytical
and not self._with_analytical_java
and not self._with_interactive
and not self._with_learning
self._with_vineyard
and not self._with_dataset
and not self._with_analytical
and not self._with_analytical_java
and not self._with_interactive
and not self._with_learning
and not self._with_mars
)

Expand Down Expand Up @@ -905,7 +905,7 @@ def _create_vineyard_cluster(self):
self._namespace,
label_selector="app.kubernetes.io/instance="
+ self._namespace
+ "-vineyardd-sample"
+ "-vineyardd-sample",
)
for pod in vineyard_pods.items:
self._vineyard_pod_name_list.append(pod.metadata.name)
Expand Down
1 change: 1 addition & 0 deletions python/graphscope/client/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,7 @@ class Session(object):
>>> s = graphscope.session(config={'k8s_engine_cpu': 5, 'k8s_engine_mem': '5Gi'})
"""

# -- pylint: disable=C901
@set_defaults(gs_config)
def __init__(
self,
Expand Down

0 comments on commit 11a3c23

Please sign in to comment.