MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / _annotate

Method _annotate

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

Source from the content-addressed store, hash-verified

294 self._hash = hash(element)
295
296 def _annotate(self, values: _AnnotationDict) -> Self:
297 _values = self._annotations.union(values)
298 new = self._with_annotations(_values)
299 return new
300
301 def _with_annotations(self, values: _AnnotationDict) -> Self:
302 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
_orm_annotate_columnMethod · 0.45

Calls 2

_with_annotationsMethod · 0.95
unionMethod · 0.45