Skip to content

Commit 0ddd2ef

Browse files
jacalataclaude
andcommitted
Add VirtualConnectionItem to OwnedItem docstring class list
Addresses jarhun88's review nitpick: the docstring omitted VirtualConnectionItem even though it exposes owner_id and is covered by test_virtual_connection_satisfies_owned_item. Co-Authored-By: Claude Code <noreply@anthropic.com>
1 parent 2c27bc6 commit 0ddd2ef

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎tableauserverclient/models/base_item.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ class OwnedItem(TableauItem, Protocol):
5454
"""Structural interface for TSC items that carry an owner reference.
5555
5656
Structurally satisfied by WorkbookItem, DatasourceItem, ViewItem,
57-
FlowItem, ProjectItem, and MetricItem -- every item class that exposes
58-
an ``owner_id`` attribute. Extends ``TableauItem``.
57+
FlowItem, ProjectItem, MetricItem, and VirtualConnectionItem -- every
58+
item class that exposes an ``owner_id`` attribute. Extends ``TableauItem``.
5959
6060
No concrete class needs to explicitly inherit from OwnedItem. Protocol
6161
structural subtyping means any class that exposes the required attribute

0 commit comments

Comments
 (0)