NebulaGraph Python Client  release-3.8
AuthResult.py
1 # --coding:utf-8--
2 #
3 # Copyright (c) 2021 vesoft inc. All rights reserved.
4 #
5 # This source code is licensed under Apache 2.0 License.
6 
7 
8 class AuthResult(object):
9  def __init__(self, session_id, timezone_offset, timezone_name):
10  self._session_id_session_id = session_id
11  self._timezone_offset_timezone_offset = timezone_offset
12  self._timezone_name_timezone_name = timezone_name
13 
14  def get_session_id(self):
15  return self._session_id_session_id
16 
17  def get_timezone_offset(self):
18  return self._timezone_offset_timezone_offset
19 
20  def get_timezone_name(self):
21  return self._timezone_name_timezone_name