We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 603fa11 commit 10dc41fCopy full SHA for 10dc41f
1 file changed
pyatlan/client/common/transport.py
@@ -25,7 +25,11 @@
25
def build_policy_search_request(
26
policy_name: str, persona_qualified_name: str
27
) -> IndexSearchRequest:
28
- """Build an IndexSearchRequest to find an existing AuthPolicy by name and persona."""
+ """
29
+ Build an IndexSearchRequest to find an existing AuthPolicy by name and persona.
30
+ Using persona GUID directly returns associated assets, not policies.
31
+ Policies require a hierarchical (prefix) match to be correctly retrieved.
32
33
query = Bool(
34
filter=[
35
Term(field="__state", value="ACTIVE"),
0 commit comments