Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit43bda76

Browse files
authored
Fixed warnings (#1526)
1 parent9120fc5 commit43bda76

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

‎pgml-sdks/pgml/src/models.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ use crate::types::{DateTime, Json};
88
// A multi field pipeline
99
#[enum_def]
1010
#[derive(FromRow)]
11+
#[allow(dead_code)]
1112
pubstructPipeline{
1213
pubid:i64,
1314
pubname:String,
@@ -19,6 +20,7 @@ pub struct Pipeline {
1920
// A model used to perform some task
2021
#[enum_def]
2122
#[derive(FromRow)]
23+
#[allow(dead_code)]
2224
pubstructModel{
2325
pubid:i64,
2426
pubcreated_at:DateTime,
@@ -29,6 +31,7 @@ pub struct Model {
2931
// A text splitter
3032
#[enum_def]
3133
#[derive(FromRow)]
34+
#[allow(dead_code)]
3235
pubstructSplitter{
3336
pubid:i64,
3437
pubcreated_at:DateTime,
@@ -63,6 +66,7 @@ impl Document {
6366
// A collection of documents
6467
#[enum_def]
6568
#[derive(FromRow)]
69+
#[allow(dead_code)]
6670
pubstructCollection{
6771
pubid:i64,
6872
pubcreated_at:DateTime,
@@ -74,6 +78,7 @@ pub struct Collection {
7478
// An embedding
7579
#[enum_def]
7680
#[derive(FromRow)]
81+
#[allow(dead_code)]
7782
pubstructEmbedding{
7883
pubid:i64,
7984
pubcreated_at:DateTime,
@@ -83,6 +88,7 @@ pub struct Embedding {
8388

8489
// A chunk of split text
8590
#[derive(FromRow)]
91+
#[allow(dead_code)]
8692
pubstructChunk{
8793
pubid:i64,
8894
pubcreated_at:DateTime,
@@ -93,6 +99,7 @@ pub struct Chunk {
9399

94100
// A tsvector of a document
95101
#[derive(FromRow)]
102+
#[allow(dead_code)]
96103
pubstructTSVector{
97104
pubid:i64,
98105
pubcreated_at:DateTime,

‎pgml-sdks/pgml/src/pipeline.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ impl From<Json> for InvividualSyncStatus {
175175
}
176176

177177
#[derive(Debug,Clone)]
178+
#[allow(dead_code)]
178179
pubstructPipelineDatabaseData{
179180
pubid:i64,
180181
pubcreated_at:DateTime,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp