Skip to content

Commit 25ca17a

Browse files
committed
docstr
1 parent c4edcd6 commit 25ca17a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/core/src/codewhisperer/region/regionProfileManager.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,7 @@ export class RegionProfileManager {
351351
}
352352
}
353353

354+
// TODO: Should maintain sdk client in a better way
354355
async createQClient(profile: RegionProfile): Promise<CodeWhispererUserClient> {
355356
const conn = this.connectionProvider()
356357
if (conn === undefined || !isSsoConnection(conn)) {
@@ -363,6 +364,7 @@ export class RegionProfileManager {
363364
return this._createQClient(profile.region, endpoint, conn)
364365
}
365366

367+
// Visible for testing only, do not use this directly, please use createQClient(profile)
366368
async _createQClient(region: string, endpoint: string, conn: SsoConnection): Promise<CodeWhispererUserClient> {
367369
const token = (await conn.getToken()).accessToken
368370
const serviceOption: ServiceOptions = {

0 commit comments

Comments
 (0)