Browse Source

fix type definition

master
mark 8 months ago
parent
commit
b8a45a9236
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      autoreject/autoreject.py

+ 1
- 1
autoreject/autoreject.py View File

@@ -50,7 +50,7 @@ class Criterion:
self.comparison_type = comparison_type
self.user_dict_key = user_dict_key

TestValue = Union[str, dict, timedelta]
TestValue = Union[bool, int, timedelta]

"""
Checks whether the Criterion passed given a `user_dict` to take the value from, and compares against the `check_value`.


Loading…
Cancel
Save