Skip to content

Commit abc1c73

Browse files
committed
Lint; Fix tests
1 parent 8f9fd39 commit abc1c73

File tree

3 files changed

+397
-181
lines changed

3 files changed

+397
-181
lines changed

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ docs = [
6464
'sqlalchemy==1.3.24',
6565
# nbconvert and jinja2 versions need to be pinned.
6666
# Reference: https://github.com/vitessce/vitessce-python/issues/152
67-
'nbconvert==5.6.1',
68-
'jinja2==3.0.3',
67+
'nbconvert>=6.2',
68+
'jinja2',
6969
]
7070
all = [
7171
'jupyter-server-proxy>=1.5.2',

src/vitessce/responses.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
# References:
55
# - https://www.starlette.io/responses/#custom-json-serialization
66
# - https://github.com/encode/starlette/releases/tag/0.14.1
7+
8+
79
class UJSONResponse(JSONResponse):
810
def render(self, content):
9-
return ujson.dumps(content, ensure_ascii=False).encode("utf-8")
11+
return ujson.dumps(content, ensure_ascii=False).encode("utf-8")

0 commit comments

Comments
 (0)