Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/stemdeckapp/stemdeck
/ _num
Function
_num
app/core/settings.py:77–78 ·
view source on GitHub ↗
(v: object)
Source
from the content-addressed store, hash-verified
75
76
77
def
_num(v: object) -> int | None:
78
return
int(v)
if
isinstance(v, (int, float)) and not isinstance(v, bool)
else
None
79
80
81
# ── allow_network ──
Callers
3
get_max_duration_sec
Function · 0.85
get_video_max_height
Function · 0.85
get_port
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected