MCPcopy Create free account
hub / github.com/acking-you/static_flow / get_request

Method get_request

crates/store/src/article_request_store.rs:228–233  ·  view source on GitHub ↗
(&self, request_id: &str)

Source from the content-addressed store, hash-verified

226 }
227
228 pub async fn get_request(&self, request_id: &str) -> Result<Option<ArticleRequestRecord>> {
229 let table = self.requests_table().await?;
230 let filter = format!("request_id = '{}'", escape_literal(request_id));
231 let rows = query_requests(&table, Some(&filter), Some(1), None).await?;
232 Ok(rows.into_iter().next())
233 }
234
235 pub async fn list_requests(
236 &self,

Calls 3

query_requestsFunction · 0.85
requests_tableMethod · 0.80
nextMethod · 0.80

Tested by

no test coverage detected