Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/sqlalchemy/sqlalchemy
/ add
Method
add
lib/sqlalchemy/util/_py_collections.py:179–182 ·
view source on GitHub ↗
(self, element: _T)
Source
from the content-addressed store, hash-verified
177
return
cp
178
179
def
add(self, element: _T) -> None:
180
if
element not in self:
181
self._list.append(element)
182
super().add(element)
183
184
def
remove(self, element: _T) -> None:
185
super().remove(element)
Callers
15
polymorphic_union
Function · 0.95
test_modify
Method · 0.95
test_copy
Method · 0.95
insert
Method · 0.45
update
Method · 0.45
sort_as_subsets
Function · 0.45
find_cycles
Function · 0.45
de_stringify_annotation
Function · 0.45
recursive_value
Function · 0.45
pep695_values
Function · 0.45
de_optionalize_union_types
Function · 0.45
__init__
Method · 0.45
Calls
1
append
Method · 0.45
Tested by
2
test_modify
Method · 0.76
test_copy
Method · 0.76