Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MaterializeInc/materialize
/ is_alphanum
Function
is_alphanum
misc/python/materialize/mzexplore/sql.py:193–194 ·
view source on GitHub ↗
(c: str)
Source
from the content-addressed store, hash-verified
191
return
ord(c) >= ord(
"a"
) and ord(c) <= ord(
"z"
) or c ==
"_"
192
193
def
is_alphanum(c: str) -> bool:
194
return
is_alpha(c) or ord(c) >= ord(
"0"
) and ord(c) <= ord(
"9"
)
195
196
quote = not (is_alpha(s[0]))
197
Callers
1
identifier
Function · 0.85
Calls
1
is_alpha
Function · 0.85
Tested by
no test coverage detected