Skip to content

Commit 01fa902

Browse files
jorwoodsjacalata
andcommitted
Jorwoods/type hint projects (#941)
* Type hint projects * Type hint ProjectRequest * Re-add params to project create * Update test_group.py Co-authored-by: Jac <jacalata@users.noreply.github.com>
1 parent aee7605 commit 01fa902

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

tableauserverclient/models/project_item.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
from .property_decorators import property_is_enum, property_not_empty
88

99

10+
from typing import List, Optional, TYPE_CHECKING
11+
12+
1013
class ProjectItem(object):
1114
class ContentPermissions:
1215
LockedToProject: str = "LockedToProject"

tableauserverclient/server/request_factory.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
from ..models import DataAlertItem
2323
from ..models import FlowItem
2424
from ..models import ConnectionItem
25+
from ..models import ProjectItem
26+
2527

2628
def _add_multipart(parts: Dict) -> Tuple[Any, str]:
2729
mime_multipart_parts = list()

0 commit comments

Comments
 (0)