Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/sqlalchemy/sqlalchemy
/ decorate
Function
decorate
lib/sqlalchemy/orm/decl_api.py:241–242 ·
view source on GitHub ↗
(fn: Callable[..., Any])
Source
from the content-addressed store, hash-verified
239
""
"
240
241
def
decorate(fn: Callable[..., Any]) -> Synonym[Any]:
242
return
_orm_synonym(name, map_column=map_column, descriptor=fn)
243
244
return
decorate
245
Callers
2
mapped_as_dataclass
Method · 0.70
unmapped_dataclass
Function · 0.70
Calls
3
_generate_dc_transforms
Function · 0.85
_as_declarative
Method · 0.80
_as_unmapped_dataclass
Method · 0.80
Tested by
no test coverage detected