Skip to content

Commit

Permalink
Adding a comment for metrictype values
Browse files Browse the repository at this point in the history
  • Loading branch information
xtinec committed Nov 29, 2018
1 parent a4597af commit e06f873
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions superset/assets/src/query/Metric.ts
Expand Up @@ -3,6 +3,8 @@ import FormData from './FormData';

export const LABEL_MAX_LENGTH = 43;

// Note that the values of MetricKeys are lower_snake_case because they're
// used as keys of form data jsons.
export enum MetricKey {
METRIC = 'metric',
METRICS = 'metrics',
Expand Down

0 comments on commit e06f873

Please sign in to comment.