8000 chore(typing): flow endpoint tags · Der-Henning/server-client-python@a3c9afa · GitHub
[go: up one dir, main page]

Skip to content

Commit a3c9afa

Browse files
committed
chore(typing): flow endpoint tags
1 parent d4a2ab6 commit a3c9afa

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

tableauserverclient/server/endpoint/flows_endpoint.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import os
66
from contextlib import closing
77
from pathlib import Path
8-
from typing import Iterable, List, Optional, TYPE_CHECKING, Tuple, Union
8+
from typing import Iterable, List, Optional, Set, TYPE_CHECKING, Tuple, Union
99

1010
from tableauserverclient.helpers.headers import fix_filename
1111

@@ -297,6 +297,15 @@ def schedule_flow_run(
297297
) -> List["AddResponse"]: # actually should return a task
298298
return self.parent_srv.schedules.add_to_schedule(schedule_id, flow=item)
299299

300+
def add_tags(self, item: Union[FlowItem, str], tags: Union[Iterable[str], str]) -> Set[str]:
301+
return super().add_tags(item, tags)
302+
303+
def delete_tags(self, item: Union[FlowItem, str], tags: Union[Iterable[str], str]) -> None:
304+
return super().delete_tags(item, tags)
305+
306+
def update_tags(self, item: FlowItem) -> None:
307+
return super().update_tags(item)
308+
300309
def filter(self, *invalid, page_size: Optional[int] = None, **kwargs) -> QuerySet[FlowItem]:
301310
"""
302311
Queries the Tableau Server for items using the specified filters. Page

0 commit comments

Comments
 (0)
0