@@ -124,26 +124,42 @@ def _backend(self):
124
124
125
125
def get_autologin (self , key , cache = False , cache_ttl = None ):
126
126
# type: (str, bool, typing.Optional[int]) -> typing.Optional[dict]
127
- output = self ._backend .execute ('get_autologin' , key = key )\
128
- # type: typing.Optional[dict]
127
+ output = self ._backend .execute (
128
+ 'get_autologin' ,
129
+ key = key ,
130
+ cache = cache ,
131
+ cache_ttl = cache_ttl ,
132
+ ) # type: typing.Optional[dict]
129
133
return output
130
134
131
135
def get_session (self , session_id , cache = False , cache_ttl = None ):
132
136
# type: (str, bool, typing.Optional[int]) -> typing.Optional[dict]
133
- output = self ._backend .execute ('get_session' , session_id = session_id )\
134
- # type: typing.Optional[dict]
137
+ output = self ._backend .execute (
138
+ 'get_session' ,
139
+ session_id = session_id ,
140
+ cache = cache ,
141
+ cache_ttl = cache_ttl ,
142
+ ) # type: typing.Optional[dict]
135
143
return output
136
144
137
145
def get_user (self , user_id , cache = False , cache_ttl = None ):
138
146
# type: (int, bool, typing.Optional[int]) -> typing.Optional[dict]
139
- output = self ._backend .execute ('get_user' , user_id = user_id )\
140
- # type: typing.Optional[dict]
147
+ output = self ._backend .execute (
148
+ 'get_user' ,
149
+ user_id = user_id ,
150
+ cache = cache ,
151
+ cache_ttl = cache_ttl ,
152
+ ) # type: typing.Optional[dict]
141
153
return output
142
154
143
155
def get_user_profile (self , user_id , cache = False , cache_ttl = None ):
144
156
# type: (int, bool, typing.Optional[int]) -> typing.Optional[dict]
145
- output = self ._backend .execute ('get_user_profile' , user_id = user_id )\
146
- # type: typing.Optional[dict]
157
+ output = self ._backend .execute (
158
+ 'get_user_profile' ,
159
+ user_id = user_id ,
160
+ cache = cache ,
161
+ cache_ttl = cache_ttl ,
162
+ ) # type: typing.Optional[dict]
147
163
return output
148
164
149
165
def has_membership (
0 commit comments