Skip to content

Commit e58c551

Browse files
committed
fix: Linter errors
1 parent eeeeca1 commit e58c551

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

supertokens_python/querier.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class Querier:
4545
__init_called = False
4646
__hosts: List[Host] = []
4747
__api_key: Union[None, str] = None
48-
__api_version = None
48+
api_version = None
4949
__last_tried_index: int = 0
5050
__hosts_alive_for_testing: Set[str] = set()
5151

@@ -72,8 +72,8 @@ def get_hosts_alive_for_testing():
7272
return Querier.__hosts_alive_for_testing
7373

7474
async def get_api_version(self):
75-
if Querier.__api_version is not None:
76-
return Querier.__api_version
75+
if Querier.api_version is not None:
76+
return Querier.api_version
7777

7878
ProcessState.get_instance().add_state(
7979
AllowedProcessStates.CALLING_SERVICE_IN_GET_API_VERSION
@@ -99,8 +99,8 @@ async def f(url: str) -> Response:
9999
"to find the right versions"
100100
)
101101

102-
Querier.__api_version = api_version
103-
return Querier.__api_version
102+
Querier.api_version = api_version
103+
return Querier.api_version
104104

105105
@staticmethod
106106
def get_instance(rid_to_core: Union[str, None] = None):
@@ -116,7 +116,7 @@ def init(hosts: List[Host], api_key: Union[str, None] = None):
116116
Querier.__init_called = True
117117
Querier.__hosts = hosts
118118
Querier.__api_key = api_key
119-
Querier.__api_version = None
119+
Querier.api_version = None
120120
Querier.__last_tried_index = 0
121121
Querier.__hosts_alive_for_testing = set()
122122

0 commit comments

Comments
 (0)