superset-frontend/src/explore/controlUtils/standardizedFormData.ts
Function transform
has 41 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
transform(
targetVizType: string,
exploreState: Record<string, any>,
): {
formData: QueryFormData;
Function constructor
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
constructor(sourceFormData: QueryFormData) {
/*
* Support form_data for smooth switching between different viz
* */
const formData = Object.freeze(sourceFormData);