8000 Jorwoods/type hint flows (#937) · tableau/server-client-python@bb66d09 · GitHub
[go: up one dir, main page]

Skip to content

Commit bb66d09

Browse files
jorwoodsjacalata
authored andcommitted
Jorwoods/type hint flows (#937)
* Type hint Flows * Type hint request_factory for flows * Add ConnectionItem type hints on to Flow publish request * Clean up flows publish signature * Fix flow update_permissions type hint * Fix update_permissions type hint * Add workbook.hidden_views type hint * Update permissions only accepts an iterable * Fix formatting
1 parent 0f796b7 commit bb66d09

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tableauserverclient/server/request_factory.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,12 @@
1616
from ..models import TaskItem, UserItem, GroupItem, PermissionsRule, FavoriteItem
1717
from ..models import WebhookItem
1818

19-
from typing import Optional, TYPE_CHECKING
19+
from typing import Any, Dict, List, Optional, TYPE_CHECKING, Tuple
2020

2121
if TYPE_CHECKING:
2222
from ..models import DataAlertItem
23+
from ..models import FlowItem
24+
from ..models import ConnectionItem
2325

2426

2527
def _add_multipart(parts: Dict) -> Tuple[Any, str]:

0 commit comments

Comments
 (0)
0