mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-05 13:48:11 +08:00
Move jsonification to engine level (#511)
This commit is contained in:
@@ -3,6 +3,9 @@ from enum import Enum
|
||||
|
||||
DEFAULT_TOP_N = 10
|
||||
|
||||
# response mimetypes
|
||||
JSON_MIMETYPE = "application/json"
|
||||
|
||||
|
||||
class AugmentedEnum(Enum):
|
||||
def __hash__(self):
|
||||
@@ -27,4 +30,6 @@ class DiffExpMode(AugmentedEnum):
|
||||
VAR_FILTER = "varFilter"
|
||||
|
||||
|
||||
JSON_NaN_to_num_warning_msg = "JSON encoding failure - suggest trying --nan-to-num command line option"
|
||||
JSON_NaN_to_num_warning_msg = (
|
||||
"JSON encoding failure - suggest trying --nan-to-num command line option"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user