MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / handle_raw_string

Method handle_raw_string

lib/sqlalchemy/dialects/postgresql/array.py:483–485  ·  view source on GitHub ↗
(value: str)

Source from the content-addressed store, hash-verified

481 pattern = re.compile(r"^{(.*)}$")
482
483 def handle_raw_string(value: str) -> Sequence[Optional[str]]:
484 inner = pattern.match(value).group(1) # type: ignore[union-attr] # noqa: E501
485 return _split_enum_values(inner)
486
487 def process(
488 value: Sequence[typing_Any],

Callers

nothing calls this directly

Calls 2

_split_enum_valuesFunction · 0.85
matchMethod · 0.45

Tested by

no test coverage detected