Skip to content

Commit

Permalink
chore: remove unused stack
Browse files Browse the repository at this point in the history
  • Loading branch information
grieve54706 committed Dec 9, 2024
1 parent afe6497 commit e6c8467
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions wren-core-py/src/extractor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,7 @@ fn extract_views(
used_datasets: &[String],
) -> (Vec<Arc<View>>, Vec<Arc<Model>>) {
let used_set: HashSet<&str> = used_datasets.iter().map(String::as_str).collect();
let stack: Vec<&str> = used_datasets.iter().map(String::as_str).collect();
let models = stack
let models = used_set
.iter()
.filter_map(|&dataset_name| {
mdl.get_view(dataset_name).and_then(|view| {
Expand Down

0 comments on commit e6c8467

Please sign in to comment.