8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5611859 commit 8ad3c03Copy full SHA for 8ad3c03
tableauserverclient/models/property_decorators.py
@@ -2,7 +2,7 @@
2
import datetime
3
import re
4
from functools import wraps
5
-from typing import Any, Optional
+from typing import Any, Optional, Tuple
6
7
from tableauserverclient.datetime_helpers import parse_datetime
8
@@ -67,7 +67,7 @@ def wrapper(self, value):
67
return wrapper
68
69
70
-def property_is_int(range: tuple[int, int], allowed: Optional[Container[Any]] = None):
+def property_is_int(range: Tuple[int, int], allowed: Optional[Container[Any]] = None):
71
"""Takes a range of ints and a list of exemptions to check against
72
when setting a property on a model. The range is a tuple of (min, max) and the
73
allowed list (empty by default) allows values outside that range.
0 commit comments