File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 1- import json
1+ import json , warnings
22
33from requests import Session
44from requests import exceptions
@@ -760,11 +760,18 @@ def get_global_usage_summary(self, with_per_project=False):
760760 ########################################################
761761
762762 def get_variables (self ):
763+ """
764+ Deprecated. Use get_global_variables
765+ """
766+ warnings .warn ("get_variables is deprecated, please use get_global_variables" , DeprecationWarning )
767+ return self .get_global_variables ()
768+
769+ def get_global_variables (self ):
763770 """
764771 Get the DSS instance's variables, as a Python dictionary
765772
766773 This call requires an API key with admin rights
767-
774+
768775 :returns: a Python dictionary of the instance-level variables
769776 """
770777 return self ._perform_json (
You can’t perform that action at this time.
0 commit comments