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

Method handle_raw_string

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

Source from the content-addressed store, hash-verified

466 pattern = re.compile(r"^{(.*)}$")
467
468 def handle_raw_string(value: str) -> Sequence[Optional[str]]:
469 inner = pattern.match(value).group(1) # type: ignore[union-attr] # noqa: E501
470 return _split_enum_values(inner)
471
472 def process(
473 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