Skip to content

Commit 45e0287

Browse files
author
swelcker
committed
bug fix in feature
1 parent 0906ec1 commit 45e0287

File tree

4 files changed

+4
-7
lines changed

4 files changed

+4
-7
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@
3535
- **Integrated justpy WEB UI**: Integrated justpy UI Web Framework to MSAAPI, which allows simple adding of routes to justpy webpages functions.
3636
- **Integrated Dict with Storage Backend**: Use Dict's with backend storage like redis.
3737
- **Integrated Signals**: Use and handle Signals and Tasks.
38-
38+
- **Integrated Feature Management**: Feature switch management with conditions.
39+
-
3940
## Main Dependencies
4041

4142
- [FastAPI](https://fastapi.tiangolo.com/)

docs/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
- **Integrated justpy WEB UI**: Integrated justpy UI Web Framework to MSAAPI, which allows simple adding of routes to justpy webpages functions.
3232
- **Integrated Dict with Storage Backend**: Use Dict's with backend storage like redis.
3333
- **Integrated Signals**: Use and handle Signals and Tasks.
34+
- **Integrated Feature Management**: Feature switch management with conditions.
3435

3536
## Main Dependencies
3637

msaSDK/feature/base/manager.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import threading
22

3-
from msaSDK import signals
43
from msaSDK.feature.base import signal
54
from msaSDK.feature.base.signal import switch_unregistered, switch_updated
65
from msaSDK.feature.base.switch import MSASwitch

msaSDK/feature/operators/string.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
from msaSDK.feature.base import MSAOperatorBase
22
from msaSDK.feature.base.registry import operators
3-
from msaSDK.feature.mapping.variables import MSAVariableBase
43

54

65
class EqualsStripIgnoreCase(MSAOperatorBase):
@@ -11,10 +10,7 @@ class EqualsStripIgnoreCase(MSAOperatorBase):
1110
mappings = ("value",)
1211

1312
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)
1814

1915
return mapping.lower().strip() == self.value.lower().strip()
2016

0 commit comments

Comments
 (0)