Skip to content

Commit

Permalink
query testing
Browse files Browse the repository at this point in the history
  • Loading branch information
iamvigneshwars committed Apr 16, 2024
1 parent 501f063 commit 526cc1f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/processed_data/charts/processed_data/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ type: application

version: 0.1.0

appVersion: 0.1.0-rc13
appVersion: 0.1.0-rc13
1 change: 1 addition & 0 deletions processed_data/src/graphql/entities.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ use models::{
auto_proc_scaling_statistics, data_collection_file_attachment, processing_job,
processing_job_parameter, sea_orm_active_enums::ScalingStatisticsType,
};
use sea_orm::FromQueryResult;

Check warning on line 7 in processed_data/src/graphql/entities.rs

View workflow job for this annotation

GitHub Actions / test

unused import: `sea_orm::FromQueryResult`

Check warning on line 7 in processed_data/src/graphql/entities.rs

View workflow job for this annotation

GitHub Actions / generate

unused import: `sea_orm::FromQueryResult`

Check warning on line 7 in processed_data/src/graphql/entities.rs

View workflow job for this annotation

GitHub Actions / test

unused import: `sea_orm::FromQueryResult`

Check warning on line 7 in processed_data/src/graphql/entities.rs

View workflow job for this annotation

GitHub Actions / generate

unused import: `sea_orm::FromQueryResult`

/// Represents processed image file stored in s3 bucket
#[derive(Clone, Debug, PartialEq, SimpleObject)]
Expand Down
5 changes: 3 additions & 2 deletions processed_data/src/graphql/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ use models::{
processing_job_parameter,
};
use sea_orm::{
ColumnTrait, ConnectionTrait, DatabaseConnection, EntityTrait, QueryFilter, Statement,
ColumnTrait, ConnectionTrait, DatabaseConnection, EntityTrait, FromQueryResult, QueryFilter,

Check warning on line 19 in processed_data/src/graphql/mod.rs

View workflow job for this annotation

GitHub Actions / test

unused import: `FromQueryResult`

Check warning on line 19 in processed_data/src/graphql/mod.rs

View workflow job for this annotation

GitHub Actions / generate

unused import: `FromQueryResult`

Check warning on line 19 in processed_data/src/graphql/mod.rs

View workflow job for this annotation

GitHub Actions / test

unused import: `FromQueryResult`

Check warning on line 19 in processed_data/src/graphql/mod.rs

View workflow job for this annotation

GitHub Actions / generate

unused import: `FromQueryResult`
Statement,
};
use sea_query::{self, Asterisk, Expr};
use std::time::Duration;
Expand Down Expand Up @@ -267,7 +268,7 @@ impl Loader<u32> for AutoProcIntegrationDataLoader {
.into_iter()
.map(|record| AP {
auto_proc_integration_id: record
.try_get("", "auto_proc_integration_id")
.try_get("", "autoProcIntegrationId")
.unwrap(),
data_collection_id: record
.try_get("", "data_collection_id")
Expand Down

0 comments on commit 526cc1f

Please sign in to comment.