File tree Expand file tree Collapse file tree 4 files changed +4
-7
lines changed Expand file tree Collapse file tree 4 files changed +4
-7
lines changed Original file line number Diff line number Diff line change 35
35
- ** Integrated justpy WEB UI** : Integrated justpy UI Web Framework to MSAAPI, which allows simple adding of routes to justpy webpages functions.
36
36
- ** Integrated Dict with Storage Backend** : Use Dict's with backend storage like redis.
37
37
- ** Integrated Signals** : Use and handle Signals and Tasks.
38
-
38
+ - ** Integrated Feature Management** : Feature switch management with conditions.
39
+ -
39
40
## Main Dependencies
40
41
41
42
- [ FastAPI] ( https://fastapi.tiangolo.com/ )
Original file line number Diff line number Diff line change 31
31
- ** Integrated justpy WEB UI** : Integrated justpy UI Web Framework to MSAAPI, which allows simple adding of routes to justpy webpages functions.
32
32
- ** Integrated Dict with Storage Backend** : Use Dict's with backend storage like redis.
33
33
- ** Integrated Signals** : Use and handle Signals and Tasks.
34
+ - ** Integrated Feature Management** : Feature switch management with conditions.
34
35
35
36
## Main Dependencies
36
37
Original file line number Diff line number Diff line change 1
1
import threading
2
2
3
- from msaSDK import signals
4
3
from msaSDK .feature .base import signal
5
4
from msaSDK .feature .base .signal import switch_unregistered , switch_updated
6
5
from msaSDK .feature .base .switch import MSASwitch
Original file line number Diff line number Diff line change 1
1
from msaSDK .feature .base import MSAOperatorBase
2
2
from msaSDK .feature .base .registry import operators
3
- from msaSDK .feature .mapping .variables import MSAVariableBase
4
3
5
4
6
5
class EqualsStripIgnoreCase (MSAOperatorBase ):
@@ -11,10 +10,7 @@ class EqualsStripIgnoreCase(MSAOperatorBase):
11
10
mappings = ("value" ,)
12
11
13
12
def applies_to (self , mapping ):
14
- if isinstance (mapping , MSAVariableBase ):
15
- mapping = str (mapping .value )
16
- else :
17
- mapping = str (mapping )
13
+ mapping = str (mapping )
18
14
19
15
return mapping .lower ().strip () == self .value .lower ().strip ()
20
16
You can’t perform that action at this time.
0 commit comments