Skip to content

Commit

Permalink
allow variables to be passed with query. This needs more work.... (#839)
Browse files Browse the repository at this point in the history
* allow variables to be passed with query.  This needs more work....

* Re-implimented fix.

---------

Co-authored-by: nkeuning <nkeuning@tenable.com>
Co-authored-by: Steve McGrath <smcgrath@tenable.com>
  • Loading branch information
3 people authored Sep 18, 2024
1 parent ff5eb1b commit f517e03
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tenable/base/graphql.py
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,7 @@ def query(self,
query_doc = self.construct_query(query=query, stored_file=stored_file)
if not keyword_arguments:
keyword_arguments = {}
keyword_arguments['variable_values'] = variables
if iterator:
if not graphql_model:
raise TypeError(
Expand Down

0 comments on commit f517e03

Please sign in to comment.