File tree Expand file tree Collapse file tree
extensions/ql-vscode/src/data-extensions-editor Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -66,8 +66,14 @@ export function createAutoModelRequest(
6666 input : `Argument[${ argumentIndex } ]` ,
6767 } ;
6868
69- // Candidates are methods that are not currently modeled in this model file or in any other model file.
70- if ( modeledMethod . type === "none" && ! externalApiUsage . supported ) {
69+ // A method that is supported is modeled outside of the model file, so it is not a candidate.
70+ // We also do not want it as a sample because we do not know the classification.
71+ if ( modeledMethod . type === "none" && externalApiUsage . supported ) {
72+ continue ;
73+ }
74+
75+ // Candidates are methods that are not currently modeled
76+ if ( modeledMethod . type === "none" ) {
7177 candidates . push ( method ) ;
7278 } else {
7379 samples . push ( method ) ;
You can’t perform that action at this time.
0 commit comments