Skip to content

Commit 8d7942f

Browse files
committed
Rename variable to snake case [sc-64060]
1 parent 6035132 commit 8d7942f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dataikuapi/dssclient.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -794,18 +794,18 @@ def set_variables(self, variables):
794794
warnings.warn("set_variables is deprecated, please use get_global_variables().save()", DeprecationWarning)
795795
return DSSInstanceVariables(self, variables).save()
796796

797-
def get_resolved_variables(self, projectKey=None, typed=False):
797+
def get_resolved_variables(self, project_key=None, typed=False):
798798
"""
799799
Get a dictionary of resolved variables of the project.
800800
801-
:param str projectKey: the project key, defaults to the current project if any
801+
:param str project_key: the project key, defaults to the current project if any
802802
:param bool typed: if True, the variable values will be typed in the returned dict, defaults to False
803803
:returns: a dictionary with instance and project variables merged
804804
"""
805805
import dataiku
806806
return self._perform_json(
807807
"GET",
808-
"/projects/%s/variables-resolved" % (dataiku.default_project_key() if projectKey is None else projectKey),
808+
"/projects/%s/variables-resolved" % (dataiku.default_project_key() if project_key is None else project_key),
809809
params={
810810
"typed": "true" if typed else "false"
811811
})

0 commit comments

Comments
 (0)