Skip to content

Commit 657713f

Browse files
committed
MOD: Run blocking IO in executor pt2
1 parent 2b8033c commit 657713f

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

databento/common/enums.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,6 @@ class Schema(StringyMixin, str, Enum):
156156

157157
@classmethod
158158
def from_int(cls, value: int) -> "Schema":
159-
""" """
160159
if value == 0:
161160
return cls.MBO
162161
if value == 1:
@@ -208,7 +207,6 @@ class Compression(StringyMixin, str, Enum):
208207

209208
@classmethod
210209
def from_int(cls, value: int) -> "Compression":
211-
""" """
212210
if value == 0:
213211
return cls.NONE
214212
if value == 1:
@@ -258,7 +256,6 @@ class SType(StringyMixin, str, Enum):
258256

259257
@classmethod
260258
def from_int(cls, value: int) -> "SType":
261-
""" """
262259
if value == 0:
263260
return cls.PRODUCT_ID
264261
if value == 1:

0 commit comments

Comments
 (0)