We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b513d1c commit f21692dCopy full SHA for f21692d
jsonsubschema/_utils.py
@@ -93,7 +93,7 @@ def get_valid_enum_vals(enum, s):
93
94
95
def get_typed_enum_vals(enum, t):
96
- if t is "integer":
+ if t == "integer":
97
enum = filter(lambda i: not isinstance(i, bool), enum)
98
# try:
99
# return sorted(filter(lambda i: isinstance(i, definitions.JtypesToPyTypes[t]), enum))
0 commit comments