File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -650,7 +650,6 @@ export interface PythonProject {
650650 * The tooltip for the Python project, which can be a string or a Markdown string.
651651 */
652652 readonly tooltip ?: string | MarkdownString ;
653-
654653}
655654
656655/**
@@ -692,7 +691,6 @@ export interface PythonProjectCreator {
692691 */
693692 readonly tooltip ?: string | MarkdownString ;
694693
695-
696694 /**
697695 * Creates a new Python project or projects.
698696 * @param options - Optional parameters for creating the Python project.
@@ -1228,12 +1226,13 @@ export interface PythonEnvironmentVariablesApi {
12281226 * 3. `.env` file at the root of the python project.
12291227 * 4. `overrides` in the order provided.
12301228 *
1231- * @param uri The URI of the project, workspace or a file in a for which environment variables are required.
1229+ * @param uri The URI of the project, workspace or a file in a for which environment variables are required. If not provided,
1230+ * it fetches the environment variables for the global scope.
12321231 * @param overrides Additional environment variables to override the defaults.
12331232 * @param baseEnvVar The base environment variables that should be used as a starting point.
12341233 */
12351234 getEnvironmentVariables (
1236- uri : Uri ,
1235+ uri : Uri | undefined ,
12371236 overrides ?: ( { [ key : string ] : string | undefined } | Uri ) [ ] ,
12381237 baseEnvVar ?: { [ key : string ] : string | undefined } ,
12391238 ) : Promise < { [ key : string ] : string | undefined } > ;
Original file line number Diff line number Diff line change @@ -1237,12 +1237,13 @@ export interface PythonEnvironmentVariablesApi {
12371237 * 3. `.env` file at the root of the python project.
12381238 * 4. `overrides` in the order provided.
12391239 *
1240- * @param uri The URI of the project, workspace or a file in a for which environment variables are required.
1240+ * @param uri The URI of the project, workspace or a file in a for which environment variables are required.If not provided,
1241+ * it fetches the environment variables for the global scope.
12411242 * @param overrides Additional environment variables to override the defaults.
12421243 * @param baseEnvVar The base environment variables that should be used as a starting point.
12431244 */
12441245 getEnvironmentVariables (
1245- uri : Uri ,
1246+ uri : Uri | undefined ,
12461247 overrides ?: ( { [ key : string ] : string | undefined } | Uri ) [ ] ,
12471248 baseEnvVar ?: { [ key : string ] : string | undefined } ,
12481249 ) : Promise < { [ key : string ] : string | undefined } > ;
You can’t perform that action at this time.
0 commit comments