MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _annotate

Method _annotate

lib/sqlalchemy/sql/annotation.py:299–302  ·  view source on GitHub ↗
(self, values: _AnnotationDict)

Source from the content-addressed store, hash-verified

297 self._hash = hash(element)
298
299 def _annotate(self, values: _AnnotationDict) -> Self:
300 _values = self._annotations.union(values)
301 new = self._with_annotations(_values)
302 return new
303
304 def _with_annotations(self, values: _AnnotationDict) -> Self:
305 clone = self.__class__.__new__(self.__class__)

Callers 15

_shallow_annotateFunction · 0.45
_setup_for_generateMethod · 0.45
_criterion_existsMethod · 0.45
cloneFunction · 0.45
check_fkMethod · 0.45
visit_binaryMethod · 0.45
replMethod · 0.45
proc_left_rightMethod · 0.45
locals_Method · 0.45
parentmappers_Method · 0.45

Calls 2

_with_annotationsMethod · 0.95
unionMethod · 0.45