Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BerriAI/litellm
/ integer
Function
integer
litellm-rust/crates/cache-disk/src/python/value.rs:72–74 ·
view source on GitHub ↗
(value: String)
Source
from the content-addressed store, hash-verified
70
}
71
72
fn integer(value: String) -> Result<Value, Error> {
73
value.parse().map_err(Error::invalid_entry)
74
}
75
76
pub(crate) fn from_json(value: serde_json::Value) -> Value {
77
match value {
Callers
3
from_pickle_value
Function · 0.70
from_pickle_hashable
Function · 0.70
from_json
Function · 0.70
Calls
1
parse
Method · 0.45
Tested by
no test coverage detected