with Flask upgrade, overloading DefaultJSONProvider.default no longer #1064
Annotations
2 errors and 1 warning
patientsearch/api.py#L156
Too many blank lines (2) (E303)
|
/home/runner/work/cosri-patientsearch/cosri-patientsearch/patientsearch/api.py#L149
try:
json.dumps(obj)
return obj
except (TypeError, OverflowError):
return str(obj)
-
# return selective keys - not all can be be viewed by users, e.g.secret key
blacklist = ("SECRET", "KEY", "TOKEN", "CREDENTIALS")
if config_key:
|
test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|