@@ -126,6 +126,7 @@ pub trait InternalDbtNodeAttributes: InternalDbtNode {
126
126
}
127
127
// Setters
128
128
fn set_quoting ( & mut self , quoting : ResolvedQuoting ) ;
129
+ fn set_static_analysis ( & mut self , static_analysis : StaticAnalysisKind ) ;
129
130
130
131
// Optional Fields
131
132
fn get_access ( & self ) -> Option < Access > {
@@ -231,6 +232,9 @@ impl InternalDbtNodeAttributes for DbtModel {
231
232
fn set_quoting ( & mut self , quoting : ResolvedQuoting ) {
232
233
self . quoting = quoting;
233
234
}
235
+ fn set_static_analysis ( & mut self , static_analysis : StaticAnalysisKind ) {
236
+ self . static_analysis = static_analysis;
237
+ }
234
238
fn tags ( & self ) -> Vec < String > {
235
239
self . tags . clone ( )
236
240
}
@@ -307,6 +311,9 @@ impl InternalDbtNodeAttributes for DbtSeed {
307
311
fn set_quoting ( & mut self , quoting : ResolvedQuoting ) {
308
312
self . quoting = quoting;
309
313
}
314
+ fn set_static_analysis ( & mut self , _static_analysis : StaticAnalysisKind ) {
315
+ unimplemented ! ( )
316
+ }
310
317
fn tags ( & self ) -> Vec < String > {
311
318
self . tags . clone ( )
312
319
}
@@ -386,6 +393,9 @@ impl InternalDbtNodeAttributes for DbtTest {
386
393
fn set_quoting ( & mut self , quoting : ResolvedQuoting ) {
387
394
self . quoting = quoting;
388
395
}
396
+ fn set_static_analysis ( & mut self , static_analysis : StaticAnalysisKind ) {
397
+ self . static_analysis = static_analysis;
398
+ }
389
399
fn tags ( & self ) -> Vec < String > {
390
400
self . tags . clone ( )
391
401
}
@@ -457,6 +467,9 @@ impl InternalDbtNodeAttributes for DbtUnitTest {
457
467
fn set_quoting ( & mut self , quoting : ResolvedQuoting ) {
458
468
self . quoting = quoting;
459
469
}
470
+ fn set_static_analysis ( & mut self , static_analysis : StaticAnalysisKind ) {
471
+ self . static_analysis = static_analysis;
472
+ }
460
473
fn tags ( & self ) -> Vec < String > {
461
474
self . tags . clone ( )
462
475
}
@@ -530,12 +543,18 @@ impl InternalDbtNodeAttributes for DbtSource {
530
543
fn materialized ( & self ) -> DbtMaterialization {
531
544
DbtMaterialization :: External
532
545
}
546
+ fn static_analysis ( & self ) -> StaticAnalysisKind {
547
+ self . static_analysis
548
+ }
533
549
fn quoting ( & self ) -> ResolvedQuoting {
534
550
self . quoting
535
551
}
536
552
fn set_quoting ( & mut self , quoting : ResolvedQuoting ) {
537
553
self . quoting = quoting;
538
554
}
555
+ fn set_static_analysis ( & mut self , static_analysis : StaticAnalysisKind ) {
556
+ self . static_analysis = static_analysis;
557
+ }
539
558
fn tags ( & self ) -> Vec < String > {
540
559
self . tags . clone ( )
541
560
}
@@ -592,12 +611,18 @@ impl InternalDbtNodeAttributes for DbtSnapshot {
592
611
fn materialized ( & self ) -> DbtMaterialization {
593
612
self . materialized . clone ( )
594
613
}
614
+ fn static_analysis ( & self ) -> StaticAnalysisKind {
615
+ self . static_analysis
616
+ }
595
617
fn quoting ( & self ) -> ResolvedQuoting {
596
618
self . quoting
597
619
}
598
620
fn set_quoting ( & mut self , quoting : ResolvedQuoting ) {
599
621
self . quoting = quoting;
600
622
}
623
+ fn set_static_analysis ( & mut self , static_analysis : StaticAnalysisKind ) {
624
+ self . static_analysis = static_analysis;
625
+ }
601
626
fn tags ( & self ) -> Vec < String > {
602
627
self . tags . clone ( )
603
628
}
@@ -1262,6 +1287,7 @@ pub struct DbtUnitTest {
1262
1287
1263
1288
// [Start] Previously config fields
1264
1289
pub quoting : ResolvedQuoting ,
1290
+ pub static_analysis : StaticAnalysisKind ,
1265
1291
pub tags : Vec < String > ,
1266
1292
pub meta : BTreeMap < String , Value > ,
1267
1293
// [End]
@@ -1290,6 +1316,7 @@ pub struct DbtTest {
1290
1316
1291
1317
// [Start] Previously config fields
1292
1318
pub quoting : ResolvedQuoting ,
1319
+ pub static_analysis : StaticAnalysisKind ,
1293
1320
pub tags : Vec < String > ,
1294
1321
pub meta : BTreeMap < String , Value > ,
1295
1322
// [End]
@@ -1329,6 +1356,7 @@ pub struct DbtSnapshot {
1329
1356
// [Start] Previously config fields
1330
1357
pub materialized : DbtMaterialization ,
1331
1358
pub quoting : ResolvedQuoting ,
1359
+ pub static_analysis : StaticAnalysisKind ,
1332
1360
pub tags : Vec < String > ,
1333
1361
pub meta : BTreeMap < String , Value > ,
1334
1362
pub snapshot_meta_column_names : SnapshotMetaColumnNames ,
@@ -1350,6 +1378,7 @@ pub struct DbtSource {
1350
1378
1351
1379
// [Start] Previously config fields
1352
1380
pub quoting : ResolvedQuoting ,
1381
+ pub static_analysis : StaticAnalysisKind ,
1353
1382
pub tags : Vec < String > ,
1354
1383
pub meta : BTreeMap < String , Value > ,
1355
1384
// [End]
0 commit comments