Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/tortoise/tortoise-orm
/ clear
Method
clear
tortoise/apps.py:326–327 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
324
return
chain.from_iterable(model_list_generator)
325
326
def
clear(self) -> None:
327
self.apps.clear()
328
329
def
__contains__(self, key: str) -> bool:
330
return
key in self.apps
Callers
9
_reset_apps
Method · 0.45
_generate_db_fields
Method · 0.45
test_m2m_clear
Function · 0.45
_reset_tortoise
Function · 0.45
_reset_tortoise
Function · 0.45
_reset_tortoise
Function · 0.45
_reset_tortoise
Function · 0.45
test__clear
Function · 0.45
test__clear
Function · 0.45
Calls
no outgoing calls
Tested by
7
test_m2m_clear
Function · 0.36
_reset_tortoise
Function · 0.36
_reset_tortoise
Function · 0.36
_reset_tortoise
Function · 0.36
_reset_tortoise
Function · 0.36
test__clear
Function · 0.36
test__clear
Function · 0.36