File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 88import yandexcloud
99from yandexcloud .operations import OperationError
1010
11- USER_AGENT = "ycloud-python-sdk:spark"
12-
1311
1412def parse_cmd ():
1513 parser = argparse .ArgumentParser (description = __doc__ , formatter_class = argparse .RawTextHelpFormatter )
@@ -46,10 +44,10 @@ def main():
4644 arguments = parse_cmd ()
4745
4846 if arguments .token :
49- sdk = yandexcloud .SDK (token = arguments .token , user_agent = USER_AGENT )
47+ sdk = yandexcloud .SDK (token = arguments .token )
5048 else :
5149 with open (arguments .sa_json_path ) as infile :
52- sdk = yandexcloud .SDK (service_account_key = json .load (infile ), user_agent = USER_AGENT )
50+ sdk = yandexcloud .SDK (service_account_key = json .load (infile ))
5351
5452 spark_client = sdk .wrappers .Spark ()
5553
You can’t perform that action at this time.
0 commit comments