DataSourceWithBackend: remove unused function (#25727)

This commit is contained in:
Ryan McKinley 2020-06-22 10:27:02 -07:00 committed by GitHub
parent 05ed781184
commit 0c61ff7672
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,6 @@ import {
DataQuery, DataQuery,
DataSourceJsonData, DataSourceJsonData,
ScopedVars, ScopedVars,
DataFrame,
} from '@grafana/data'; } from '@grafana/data';
import { Observable, from, of } from 'rxjs'; import { Observable, from, of } from 'rxjs';
import { config } from '..'; import { config } from '..';
@ -133,11 +132,6 @@ export class DataSourceWithBackend<
*/ */
processResponse?(res: DataQueryResponse): Promise<DataQueryResponse>; processResponse?(res: DataQueryResponse): Promise<DataQueryResponse>;
/**
* Optionally process the results for display
*/
processDataFrameResult?(frame: DataFrame, idx: number): Promise<DataFrame>;
/** /**
* Override to skip executing a query * Override to skip executing a query
* *
@ -146,7 +140,11 @@ export class DataSourceWithBackend<
filterQuery?(query: TQuery): boolean; filterQuery?(query: TQuery): boolean;
/** /**
* Override to apply template variables * Override to apply template variables. The result is usually also `TQuery`, but sometimes this can
* be used to modify the query structure before sending to the backend.
*
* NOTE: if you do modify the structure or use template variables, alerting queries may not work
* as expected
* *
* @virtual * @virtual
*/ */