Skip to content

Commit 508e48a

Browse files
add release level
1 parent 2edad5e commit 508e48a

File tree

1 file changed

+11
-1
lines changed
  • src/client/pythonEnvironments/base/info

1 file changed

+11
-1
lines changed

src/client/pythonEnvironments/base/info/index.ts

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,21 @@ export type PythonEnvBaseInfo = {
6464
// * binDir: string (where env-installed executables are found)
6565
};
6666

67+
/**
68+
* The possible Python release levels.
69+
*/
70+
export enum PythonReleaseLevel {
71+
Alpha = 'alpha',
72+
Beta = 'beta',
73+
Candidate = 'candidate',
74+
Final = 'final'
75+
}
76+
6777
/**
6878
* Release information for a Python version.
6979
*/
7080
export type PythonVersionRelease = {
71-
level: 'alpha' | 'beta' | 'candidate' | 'final';
81+
level: PythonReleaseLevel;
7282
serial: number;
7383
};
7484

0 commit comments

Comments
 (0)