Skip to content

Commit

Permalink
bump oinq to 0.9.2
Browse files Browse the repository at this point in the history
  • Loading branch information
syncpark committed Dec 7, 2023
1 parent 7a2dc91 commit 64e60a3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ ipnet = { version = "2", features = ["serde"] }
jsonwebtoken = "9"
lazy_static = "1"
num-traits = "0.2"
oinq = { git = "https://github.com/petabi/oinq.git", tag = "0.9.1" }
oinq = { git = "https://github.com/petabi/oinq.git", tag = "0.9.2" }
reqwest = { version = "0.11", default-features = false, features = [
"rustls-tls-native-roots",
] }
Expand Down
1 change: 1 addition & 0 deletions src/graphql.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ pub use self::block_network::get_block_networks;
pub use self::cert::ParsedCertificate;
pub use self::customer::get_customer_networks;
pub use self::node::{get_customer_id_of_review_host, get_node_settings};
pub use self::semi_model::{get_semi_model_list, SemiModelInfo};
pub use self::trusted_user_agent::get_trusted_user_agent_list;
use async_graphql::{
connection::{Connection, Edge, EmptyFields},
Expand Down
4 changes: 2 additions & 2 deletions src/graphql/semi_model.rs
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ struct SemiModel {
}

#[derive(SimpleObject, Serialize)]
struct SemiModelInfo {
pub struct SemiModelInfo {
model_type: i32,
model_name: String,
model_version: String,
Expand Down Expand Up @@ -164,7 +164,7 @@ impl SemiModelInfoTotalCount {
/// # Errors
///
/// Returns an error if semi supervised model database could not be retrieved.
fn get_semi_model_list(db: &Store) -> Result<Vec<SemiModelInfo>> {
pub fn get_semi_model_list(db: &Store) -> Result<Vec<SemiModelInfo>> {
let map = db.semi_models_map();
let mut semi_model_list = vec![];
for (_, value) in map.iter_forward()? {
Expand Down

0 comments on commit 64e60a3

Please sign in to comment.