okta-expression-parser 0.2.1__tar.gz → 0.2.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {okta_expression_parser-0.2.1 → okta_expression_parser-0.2.2}/PKG-INFO +1 -1
- {okta_expression_parser-0.2.1 → okta_expression_parser-0.2.2}/okta_expression_parser/parser.py +2 -2
- {okta_expression_parser-0.2.1 → okta_expression_parser-0.2.2}/pyproject.toml +1 -1
- {okta_expression_parser-0.2.1 → okta_expression_parser-0.2.2}/README.md +0 -0
- {okta_expression_parser-0.2.1 → okta_expression_parser-0.2.2}/okta_expression_parser/__init__.py +0 -0
- {okta_expression_parser-0.2.1 → okta_expression_parser-0.2.2}/okta_expression_parser/expression_classes/__init__.py +0 -0
- {okta_expression_parser-0.2.1 → okta_expression_parser-0.2.2}/okta_expression_parser/expression_classes/arrays.py +0 -0
- {okta_expression_parser-0.2.1 → okta_expression_parser-0.2.2}/okta_expression_parser/expression_classes/convert.py +0 -0
- {okta_expression_parser-0.2.1 → okta_expression_parser-0.2.2}/okta_expression_parser/expression_classes/groups.py +0 -0
- {okta_expression_parser-0.2.1 → okta_expression_parser-0.2.2}/okta_expression_parser/expression_classes/iso3166convert.py +0 -0
- {okta_expression_parser-0.2.1 → okta_expression_parser-0.2.2}/okta_expression_parser/expression_classes/string.py +0 -0
- {okta_expression_parser-0.2.1 → okta_expression_parser-0.2.2}/okta_expression_parser/lexer.py +0 -0
{okta_expression_parser-0.2.1 → okta_expression_parser-0.2.2}/okta_expression_parser/parser.py
RENAMED
|
@@ -292,7 +292,8 @@ class ExpressionParser(sly.Parser):
|
|
|
292
292
|
return False
|
|
293
293
|
|
|
294
294
|
val = p.operand
|
|
295
|
-
|
|
295
|
+
|
|
296
|
+
if not isinstance(val, tuple):
|
|
296
297
|
val = [val]
|
|
297
298
|
|
|
298
299
|
res = list(set(self.__group_ids) & set(val))
|
|
@@ -306,7 +307,6 @@ class ExpressionParser(sly.Parser):
|
|
|
306
307
|
if not self.__group_ids:
|
|
307
308
|
return False
|
|
308
309
|
|
|
309
|
-
# return p.operand.lower() in self.__group_ids
|
|
310
310
|
return p.operand in self.__group_ids
|
|
311
311
|
|
|
312
312
|
@_("condition error") # noqa: 821
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "okta-expression-parser"
|
|
3
|
-
version = "0.2.
|
|
3
|
+
version = "0.2.2"
|
|
4
4
|
description = "Returns a boolean by passing Okta profile data to an Okta Expression using Okta Expression Language"
|
|
5
5
|
authors = ["Mathew Moon <me@mathewmoon.net>"]
|
|
6
6
|
readme = "README.md"
|
|
File without changes
|
{okta_expression_parser-0.2.1 → okta_expression_parser-0.2.2}/okta_expression_parser/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{okta_expression_parser-0.2.1 → okta_expression_parser-0.2.2}/okta_expression_parser/lexer.py
RENAMED
|
File without changes
|