Skip to content

Commit

Permalink
Merge pull request #196 from peopledoc/types-clean
Browse files Browse the repository at this point in the history
  • Loading branch information
Joachim Jablon authored Apr 27, 2020
2 parents f28cb7c + 8fff07e commit 9aacfee
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions procrastinate/types.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,4 @@
import typing as t

from typing_extensions import Protocol

JSONValue = t.Union[str, int, float, bool, None, t.Dict[str, t.Any], t.List[t.Any]]
JSONDict = t.Dict[str, JSONValue]


class SelectableObject(Protocol):
def fileno(self) -> int:
...


Selectable = t.Union[int, SelectableObject]

0 comments on commit 9aacfee

Please sign in to comment.