check-param-names (#18189)

This commit is contained in:
Charles Gagnon
2022-01-31 12:39:22 -08:00
committed by GitHub
parent 7149bbd591
commit 1c9ba64ee0
47 changed files with 96 additions and 80 deletions

View File

@@ -47,6 +47,7 @@ export class ModelManagementController extends ControllerBase {
/**
* Opens the dialog for model import
* @param importTable
* @param parent parent if the view is opened from another view
* @param controller controller
* @param apiWrapper apiWrapper

View File

@@ -176,7 +176,7 @@ export abstract class ModelViewBase extends ViewBase {
/**
* registers local model
* @param localFilePath local file path
* @param models
*/
public async importLocalModel(models: ModelViewData[]): Promise<void> {
return await this.sendDataRequest(RegisterLocalModelEventName, models);
@@ -192,7 +192,7 @@ export abstract class ModelViewBase extends ViewBase {
/**
* download azure model
* @param args azure resource
* @param resource azure resource
*/
public async downloadAzureModel(resource: AzureModelResource | undefined): Promise<string> {
return await this.sendDataRequest(DownloadAzureModelEventName, resource);
@@ -207,7 +207,7 @@ export abstract class ModelViewBase extends ViewBase {
/**
* registers azure model
* @param args azure resource
* @param models
*/
public async importAzureModel(models: ModelViewData[]): Promise<void> {
return await this.sendDataRequest(RegisterAzureModelEventName, models);
@@ -229,7 +229,9 @@ export abstract class ModelViewBase extends ViewBase {
/**
* registers azure model
* @param args azure resource
* @param model
* @param filePath
* @param params
*/
public async generatePredictScript(model: ImportedModel | undefined, filePath: string | undefined, params: PredictParameters | undefined): Promise<void> {
const args: PredictModelEventArgs = Object.assign({}, params, {

View File

@@ -111,7 +111,6 @@ export class ModelsDetailsTableComponent extends ModelViewBase implements IDataC
/**
* Load data in the component
* @param workspaceResource Azure workspace
*/
public async loadData(): Promise<void> {

View File

@@ -158,7 +158,8 @@ export class ColumnsTable extends ModelViewBase implements IDataComponent<Predic
/**
* Load data in the component
* @param workspaceResource Azure workspace
* @param modelParameters
* @param table
*/
public async loadInputs(modelParameters: ModelParameters | undefined, table: DatabaseTable): Promise<void> {
await this.onLoading();