Skip to content

Commit 073bf53

Browse files
committed
[change] Minor improvements
1 parent 596ead4 commit 073bf53

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

pyatlan/model/fluent_search.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -163,9 +163,9 @@ def tagged_with_value(
163163
:param atlan_tag_name: human-readable name of the Atlan tag
164164
:param value: tag should have to match the query
165165
:param directly: when `True`, the asset must have the tag and
166-
:param source_tag_qualified_name: qualifiedName of the source tag to match (when there are multiple)
167166
value directly assigned (otherwise even propagated tags with the value will suffice)
168-
167+
:param source_tag_qualified_name: (optional) qualified name of
168+
the source tag to match (when there are multiple)
169169
:raises: AtlanError on any error communicating
170170
with the API to refresh the Atlan tag cache
171171
:returns: a query that will only match assets that have
@@ -189,10 +189,8 @@ def tagged_with_value(
189189
if len(synced_tags) > 1 and source_tag_qualified_name is None:
190190
synced_tag_qn = synced_tags[0].qualified_name or ""
191191
LOGGER.warning(
192-
(
193-
"Multiple mapped source-synced tags found for tag %s -- using only the first: %s",
194-
"You can specify the source tag qualified name so we can match to the specific one",
195-
),
192+
"Multiple mapped source-synced tags found for tag %s -- using only the first: %s. "
193+
"You can specify the `source_tag_qualified_name` so we can match to the specific one.",
196194
atlan_tag_name,
197195
synced_tag_qn,
198196
)

0 commit comments

Comments
 (0)