Skip to content

Commit

Permalink
chore(typing): flow endpoint tags
Browse files Browse the repository at this point in the history
  • Loading branch information
jorwoods committed Aug 23, 2024
1 parent d4a2ab6 commit a3c9afa
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion tableauserverclient/server/endpoint/flows_endpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import os
from contextlib import closing
from pathlib import Path
from typing import Iterable, List, Optional, TYPE_CHECKING, Tuple, Union
from typing import Iterable, List, Optional, Set, TYPE_CHECKING, Tuple, Union

from tableauserverclient.helpers.headers import fix_filename

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

def add_tags(self, item: Union[FlowItem, str], tags: Union[Iterable[str], str]) -> Set[str]:
return super().add_tags(item, tags)

def delete_tags(self, item: Union[FlowItem, str], tags: Union[Iterable[str], str]) -> None:
return super().delete_tags(item, tags)

def update_tags(self, item: FlowItem) -> None:
return super().update_tags(item)

def filter(self, *invalid, page_size: Optional[int] = None, **kwargs) -> QuerySet[FlowItem]:
"""
Queries the Tableau Server for items using the specified filters. Page
Expand Down

0 comments on commit a3c9afa

Please sign in to comment.