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

Method __radd__

lib/sqlalchemy/sql/elements.py:5573–5584  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

5571 )
5572
5573 def __radd__(self, other):
5574 if "%" in other and not isinstance(other, _anonymous_label):
5575 other = str(other).replace("%", "%%")
5576 else:
5577 other = str(other)
5578
5579 return _anonymous_label(
5580 quoted_name(
5581 str.__add__(other, self),
5582 self.quote,
5583 )
5584 )
5585
5586 def apply_map(self, map_):
5587 if self.quote is not None:

Callers

nothing calls this directly

Calls 4

_anonymous_labelClass · 0.85
quoted_nameClass · 0.85
replaceMethod · 0.45
__add__Method · 0.45

Tested by

no test coverage detected