Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/sqlalchemy/sqlalchemy
/ declare
Function
declare
lib/sqlalchemy/util/cython.py:50–51 ·
view source on GitHub ↗
(t: Type[_T], value: Any = None, **kw: Any)
Source
from the content-addressed store, hash-verified
48
49
50
def
declare(t: Type[_T], value: Any = None, **kw: Any) -> _T:
51
return
value
# type: ignore[no-any-return]
52
53
54
def
annotation_typing(_: bool) -> _NO_OP[_T]:
Callers
8
test_no_recursive_pep593_from_pep695
Method · 0.85
test_pep695_behavior
Method · 0.85
test_recursive_pep695_cases
Method · 0.85
test_pep695_literal_defaults_to_enum
Method · 0.85
test_no_recursive_pep593_from_pep695
Method · 0.85
test_pep695_behavior
Method · 0.85
test_recursive_pep695_cases
Method · 0.85
test_pep695_literal_defaults_to_enum
Method · 0.85
Calls
no outgoing calls
Tested by
8
test_no_recursive_pep593_from_pep695
Method · 0.68
test_pep695_behavior
Method · 0.68
test_recursive_pep695_cases
Method · 0.68
test_pep695_literal_defaults_to_enum
Method · 0.68
test_no_recursive_pep593_from_pep695
Method · 0.68
test_pep695_behavior
Method · 0.68
test_recursive_pep695_cases
Method · 0.68
test_pep695_literal_defaults_to_enum
Method · 0.68