Commit 3f05ad8
committed
[AI-FSSDK] [FSSDK-12337] Remove ExperimentTypes class, simplify type check
- Remove redundant ExperimentTypes class from enums.py (ExperimentType Literal suffices)
- Simplify getattr(experiment, 'type', None) to experiment.type1 parent d95f1e8 commit 3f05ad8
2 files changed
+1
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | 105 | | |
113 | 106 | | |
114 | 107 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
237 | 237 | | |
238 | 238 | | |
239 | 239 | | |
240 | | - | |
| 240 | + | |
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
| |||
0 commit comments