Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/sqlalchemy/sqlalchemy
/ B
Class
B
examples/asyncio/async_orm.py:41–45 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
39
40
41
class
B(Base):
42
__tablename__ =
"b"
43
id: Mapped[int] = mapped_column(primary_key=True)
44
a_id: Mapped[int] = mapped_column(ForeignKey(
"a.id"
))
45
data: Mapped[Optional[str]]
46
47
48
async
def
async_main():
Callers
1
async_main
Function · 0.70
Calls
2
mapped_column
Function · 0.90
ForeignKey
Class · 0.90
Tested by
no test coverage detected