Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/sqlalchemy/sqlalchemy
/ attr
Method
attr
lib/sqlalchemy/dialects/mysql/base.py:2408–2409 ·
view source on GitHub ↗
(name: str)
Source
from the content-addressed store, hash-verified
2406
""
"
2407
2408
def
attr(name: str) -> Any:
2409
return
getattr(type_, name, defaults.get(name))
2410
2411
if
attr(
"charset"
):
2412
charset =
"CHARACTER SET %s"
% attr(
"charset"
)
Callers
2
_memoized_attr_foo_bar
Method · 0.45
test_memoized_slots
Method · 0.45
Calls
1
get
Method · 0.45
Tested by
2
_memoized_attr_foo_bar
Method · 0.36
test_memoized_slots
Method · 0.36