Skip to content

Commit

Permalink
tweak client query
Browse files Browse the repository at this point in the history
  • Loading branch information
jgstew committed Aug 8, 2024
1 parent 50ae207 commit c29ba8a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions examples/client_query_from_string.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@

import besapi

CLIENT_RELEVANCE = "(computer names, model name of main processor, (it as string) of (it / (1024 * 1024 * 1024)) of total amount of ram)"


def main():
"""Execution starts here"""
Expand All @@ -34,7 +36,7 @@ def main():
# print(item)

# this is the client relevance we are going to get the results of:
client_relevance = "(computer names, operating systems)"
client_relevance = CLIENT_RELEVANCE

# generate target XML substring from list of computer ids:
target_xml = (
Expand Down Expand Up @@ -93,7 +95,7 @@ def main():
print("not interactive, stopping loop")
break
except KeyboardInterrupt:
print("loop interuppted")
print("\nloop interuppted")

print("script finished")

Expand Down

0 comments on commit c29ba8a

Please sign in to comment.