Skip to content

Commit 519a5c8

Browse files
jorwoodsjacalata
andcommitted
Jorwoods/type hint user (#944)
* Type hint Users * Type hint UserRequest * Remove type hints from Roles and Auth namespaces * Update user_item.py Co-authored-by: Jac <jacalata@users.noreply.github.com>
1 parent 0251ac8 commit 519a5c8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tableauserverclient/models/user_item.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
from datetime import datetime
12
import xml.etree.ElementTree as ET
23
from datetime import datetime
34
from typing import Dict, List, Optional, TYPE_CHECKING
@@ -13,6 +14,11 @@
1314
from .reference_item import ResourceReference
1415
from ..datetime_helpers import parse_datetime
1516

17+
if TYPE_CHECKING:
18+
from ..server.pager import Pager
19+
20+
from typing import Dict, List, Optional, TYPE_CHECKING
21+
1622
if TYPE_CHECKING:
1723
from ..server.pager import Pager
1824

0 commit comments

Comments
 (0)