jet-admin / jet-bridge

Anomalous backslash detected PY-W0073
Bug risk
Major
6 months ago2 years old
Anomalous backslash in string: '\)'. String constant might be missing an r prefix.
 68                    'default_value': match['value']
 69                }
 70
 71            nextval_regex = re.search("^nextval\((?P<value>.+)\)$", value) 72            if nextval_regex:
 73                match = nextval_regex.groupdict()
 74                return {
Anomalous backslash in string: '\('. String constant might be missing an r prefix.
 68                    'default_value': match['value']
 69                }
 70
 71            nextval_regex = re.search("^nextval\((?P<value>.+)\)$", value) 72            if nextval_regex:
 73                match = nextval_regex.groupdict()
 74                return {
Anomalous backslash in string: '\.'. String constant might be missing an r prefix.
 97        unresolved = names[:]
 98
 99        for name in unresolved:
100            regex = re.search('sso\.(?P<sso>\w+)\.(?P<token>\w+)', name)101
102            if not regex:
103                continue
Anomalous backslash in string: '\w'. String constant might be missing an r prefix.
 97        unresolved = names[:]
 98
 99        for name in unresolved:
100            regex = re.search('sso\.(?P<sso>\w+)\.(?P<token>\w+)', name)101
102            if not regex:
103                continue
Anomalous backslash in string: '\w'. String constant might be missing an r prefix.
 97        unresolved = names[:]
 98
 99        for name in unresolved:
100            regex = re.search('sso\.(?P<sso>\w+)\.(?P<token>\w+)', name)101
102            if not regex:
103                continue