MCPcopy Create free account
hub / github.com/Dstack-TEE/dstack / map_to_value

Function map_to_value

ra-rpc/src/openapi.rs:461–467  ·  view source on GitHub ↗
(map: BTreeMap<String, Value>)

Source from the content-addressed store, hash-verified

459}
460
461fn map_to_value(map: BTreeMap<String, Value>) -> Value {
462 let mut json_map = Map::new();
463 for (k, v) in map {
464 json_map.insert(k, v);
465 }
466 Value::Object(json_map)
467}
468
469fn is_empty_type(type_name: &str) -> bool {
470 matches!(

Callers 1

generate_documentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected