Skip to content

Commit 61952f9

Browse files
committed
start setting up experiment for smart send
1 parent 6ae656d commit 61952f9

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

src/client/terminals/codeExecution/helper.ts

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ import { IInterpreterService } from '../../interpreter/contracts';
1414
import { IServiceContainer } from '../../ioc/types';
1515
import { ICodeExecutionHelper } from '../types';
1616
import { traceError } from '../../logging';
17-
import { IExperimentService, Resource } from '../../common/types';
18-
import { EnableREPLSmartSend } from '../../common/experiments/groups';
17+
import { IExperimentService, IExperimentService, Resource } from '../../common/types';
18+
import { EnableREPLSmartSend, EnableREPLSmartSend } from '../../common/experiments/groups';
1919

2020
@injectable()
2121
export class CodeExecutionHelper implements ICodeExecutionHelper {
@@ -29,6 +29,8 @@ export class CodeExecutionHelper implements ICodeExecutionHelper {
2929

3030
// private readonly configSettings: IConfigurationService;
3131

32+
// private readonly configSettings: IConfigurationService;
33+
3234
constructor(@inject(IServiceContainer) private readonly serviceContainer: IServiceContainer) {
3335
this.documentManager = serviceContainer.get<IDocumentManager>(IDocumentManager);
3436
this.applicationShell = serviceContainer.get<IApplicationShell>(IApplicationShell);
@@ -263,3 +265,8 @@ function pythonSmartSendEnabled(serviceContainer: IServiceContainer): boolean {
263265
const experiment = serviceContainer.get<IExperimentService>(IExperimentService);
264266
return experiment.inExperimentSync(EnableREPLSmartSend.experiment);
265267
}
268+
269+
function pythonSmartSendEnabled(serviceContainer: IServiceContainer): boolean {
270+
const experiment = serviceContainer.get<IExperimentService>(IExperimentService);
271+
return experiment.inExperimentSync(EnableREPLSmartSend.experiment);
272+
}

0 commit comments

Comments
 (0)