MCPcopy
hub / github.com/reflex-dev/reflex / remove

Method remove

tests/integration/utils.py:310–318  ·  view source on GitHub ↗

Remove a key from local storage. Args: key: The key to remove.

(self, key)

Source from the content-addressed store, hash-verified

308 return key in self
309
310 def remove(self, key) -> None:
311 """Remove a key from local storage.
312
313 Args:
314 key: The key to remove.
315 """
316 self.driver.execute_script(
317 f"window.{self.storage_key}.removeItem(arguments[0]);", key
318 )
319
320 def clear(self) -> None:
321 """Clear all local storage."""

Callers 13

_get_importsMethod · 0.80
visit_ClassDefMethod · 0.80
__init_subclass__Method · 0.80
_handle_completionMethod · 0.80
mock_sremFunction · 0.80
remove_tommyMethod · 0.80
test_mutable_listFunction · 0.80
test_mutable_setFunction · 0.80
test_enumerate_tokensMethod · 0.80
reload_state_moduleFunction · 0.80
_lock_waiterMethod · 0.80

Calls

no outgoing calls

Tested by 5

remove_tommyMethod · 0.64
test_mutable_listFunction · 0.64
test_mutable_setFunction · 0.64
test_enumerate_tokensMethod · 0.64