Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/tortoise/tortoise-orm
/ add_module
Method
add_module
tortoise/migrations/writer.py:75–76 ·
view source on GitHub ↗
(self, module: str)
Source
from the content-addressed store, hash-verified
73
self.imports.setdefault(module, set()).add(name)
74
75
def
add_module(self, module: str) -> None:
76
self.modules.add(module)
77
78
def
add_fields_alias(self) -> None:
79
self.uses_fields_module = True
Callers
1
render_value
Function · 0.80
Calls
1
add
Method · 0.80
Tested by
no test coverage detected