MCPcopy Create free account
hub / github.com/apache/cassandra-python-driver / is_valid_name

Function is_valid_name

cassandra/metadata.py:1588–1593  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

1586
1587
1588def is_valid_name(name):
1589 if name is None:
1590 return False
1591 if name.lower() in cql_keywords_reserved:
1592 return False
1593 return valid_cql3_word_re.match(name) is not None
1594
1595
1596def maybe_escape_name(name):

Callers 2

test_is_valid_nameMethod · 0.90
maybe_escape_nameFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_is_valid_nameMethod · 0.72