Skip to content

Commit f72e0d2

Browse files
feat(Global Search/Tagging): regenerated services with latest API definition
Signed-off-by: francescadecicco <[email protected]>
1 parent 38d309a commit f72e0d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/test_global_tagging_v1_examples.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ def test_attach_tag_query_example(self):
151151
# begin-attach_tag
152152

153153
filter = 'crn: "%s"' (resource_crn)
154-
query_string_model = {'query_string': 'resource_crn}
154+
query_string_model = {'query_string': filter}
155155

156156
tag_results = global_tagging_service.attach_tag(
157157
query=query_string_model, tag_names=['tag_test_3', 'tag_test_4'], tag_type='user'
@@ -196,7 +196,7 @@ def test_detach_tag_query_example(self):
196196
# begin-attach_tag
197197

198198
filter = 'crn: "%s"' (resource_crn)
199-
query_string_model = {'query_string': 'resource_crn}
199+
query_string_model = {'query_string': filter}
200200

201201
tag_results = global_tagging_service.detach_tag(
202202
query=query_string_model, tag_names=['tag_test_3', 'tag_test_4'], tag_type='user'

0 commit comments

Comments
 (0)