MCPcopy Create free account
hub / github.com/dfinity/orbit / get_request

Method get_request

core/station/impl/src/services/request.rs:76–85  ·  view source on GitHub ↗
(&self, id: &UUID)

Source from the content-addressed store, hash-verified

74 }
75
76 pub fn get_request(&self, id: &UUID) -> ServiceResult<Request> {
77 let request =
78 self.request_repository
79 .get(&Request::key(*id))
80 .ok_or(RequestError::NotFound {
81 request_id: Uuid::from_bytes(id.to_owned()).hyphenated().to_string(),
82 })?;
83
84 Ok(request)
85 }
86
87 pub async fn get_caller_privileges_for_request(
88 &self,

Callers 9

list_requestsMethod · 0.45
cancel_requestMethod · 0.45
try_execute_requestMethod · 0.45
get_requestFunction · 0.45
getRequestMethod · 0.45

Calls 1

getMethod · 0.45

Tested by 1

get_requestFunction · 0.36