fix(config): Don't correct NDArray in Python

Fixes #565
This commit is contained in:
Ed Page 2022-09-08 11:17:45 -05:00
parent 3161cd6a82
commit e5e98c3754

View file

@ -224,6 +224,20 @@ impl TypeEngineConfig {
..Default::default() ..Default::default()
}, },
}); });
patterns
.entry("py".into())
.or_insert_with(|| GlobEngineConfig {
extend_glob: Vec::new(),
engine: EngineConfig {
dict: Some(DictConfig {
extend_identifiers: maplit::hashmap! {
"NDArray".into() => "NDArray".into(),
},
..Default::default()
}),
..Default::default()
},
});
patterns patterns
.entry("cert".into()) .entry("cert".into())
.or_insert_with(|| GlobEngineConfig { .or_insert_with(|| GlobEngineConfig {