File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -430,7 +430,8 @@ export class InsightsConnection {
430430 } ;
431431
432432 if ( this . insightsVersion ) {
433- if ( compareVersions ( this . insightsVersion , 1.12 ) ) {
433+ /* TODO: Workaround for Python structuredText bug */
434+ if ( ! isPython && compareVersions ( this . insightsVersion , 1.12 ) ) {
434435 body . returnFormat = isTableView ? "structuredText" : "text" ;
435436 } else {
436437 body . isTableView = isTableView ;
@@ -475,6 +476,8 @@ export class InsightsConnection {
475476 if ( ! response . data . error ) {
476477 if ( isTableView ) {
477478 if (
479+ /* TODO: Workaround for Python structuredText bug */
480+ ! isPython &&
478481 this . insightsVersion &&
479482 compareVersions ( this . insightsVersion , 1.12 )
480483 ) {
Original file line number Diff line number Diff line change @@ -241,7 +241,8 @@ export class KdbResultsViewProvider implements WebviewViewProvider {
241241
242242 if (
243243 ( ! isInsights && ! isPython ) ||
244- ( isInsights && connVersion && compareVersions ( connVersion , 1.12 ) )
244+ /* TODO: Workaround for Python structuredText bug */
245+ ( ! isPython && connVersion && compareVersions ( connVersion , 1.12 ) )
245246 ) {
246247 rowData = this . updatedExtractRowData ( results ) ;
247248 columnDefs = this . updatedExtractColumnDefs ( results ) ;
You can’t perform that action at this time.
0 commit comments