@@ -365,8 +365,7 @@ <h1 class="title">Module <code>supertokens_python.querier</code></h1>
365
365
params: Union[Dict[str, Any], None],
366
366
user_context: Union[Dict[str, Any], None],
367
367
) -> Dict[str, Any]:
368
- if user_context is not None:
369
- self.invalidate_core_call_cache(user_context)
368
+ self.invalidate_core_call_cache(user_context)
370
369
if params is None:
371
370
params = {}
372
371
@@ -855,8 +854,7 @@ <h2 class="section-title" id="header-classes">Classes</h2>
855
854
params: Union[Dict[str, Any], None],
856
855
user_context: Union[Dict[str, Any], None],
857
856
) -> Dict[str, Any]:
858
- if user_context is not None:
859
- self.invalidate_core_call_cache(user_context)
857
+ self.invalidate_core_call_cache(user_context)
860
858
if params is None:
861
859
params = {}
862
860
@@ -1297,8 +1295,7 @@ <h3>Methods</h3>
1297
1295
params: Union[Dict[str, Any], None],
1298
1296
user_context: Union[Dict[str, Any], None],
1299
1297
) -> Dict[str, Any]:
1300
- if user_context is not None:
1301
- self.invalidate_core_call_cache(user_context)
1298
+ self.invalidate_core_call_cache(user_context)
1302
1299
if params is None:
1303
1300
params = {}
1304
1301
0 commit comments