This is an automated email from the ASF dual-hosted git repository.
xuanwo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/opendal.git
The following commit(s) were added to refs/heads/main by this push:
new f2c5739e35 fix(services/huggingface): Align with latest HuggingFace
API (#5123)
f2c5739e35 is described below
commit f2c5739e35348b16a714e1e8672aeefa930812ab
Author: Morris Tai <[email protected]>
AuthorDate: Tue Sep 17 22:08:22 2024 -0400
fix(services/huggingface): Align with latest HuggingFace API (#5123)
---
core/src/services/huggingface/core.rs | 2 --
1 file changed, 2 deletions(-)
diff --git a/core/src/services/huggingface/core.rs
b/core/src/services/huggingface/core.rs
index 488d18e277..d4d033b1ca 100644
--- a/core/src/services/huggingface/core.rs
+++ b/core/src/services/huggingface/core.rs
@@ -198,7 +198,6 @@ pub(super) struct HuggingfaceLastCommit {
#[allow(dead_code)]
pub(super) struct HuggingfaceSecurity {
pub blob_id: String,
- pub name: String,
pub safe: bool,
pub av_scan: Option<HuggingfaceAvScan>,
pub pickle_import_scan: Option<HuggingfacePickleImportScan>,
@@ -363,7 +362,6 @@ mod tests {
}),
security: Some(HuggingfaceSecurity {
blob_id:
"45fa7c3d85ee7dd4139adbc056da25ae136a65f2".to_string(),
- name: "maelstrom/lib/maelstrom.jar".to_string(),
safe: true,
av_scan: Some(HuggingfaceAvScan {
virus_found: false,