Skip to content

Commit d17f826

Browse files
authored
Merge pull request #23 from stackql/feature/refactor
docstring updates
2 parents 38d07e1 + dcffe30 commit d17f826

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

pystackql/stackql.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -426,9 +426,11 @@ def execute(self, query):
426426
Example:
427427
>>> from pystackql import StackQL
428428
>>> stackql = StackQL()
429-
>>> stackql_query = \"\"\"SELECT SPLIT_PART(machineType, '/', -1) as machine_type, status, COUNT(*) as num_instances
429+
>>> stackql_query = \"\"\"SELECT SPLIT_PART(machineType, '/', -1) as machine_type,
430+
... status, COUNT(*) as num_instances
430431
... FROM google.compute.instances
431-
... WHERE project = 'stackql-demo' AND zone = 'australia-southeast1-a'
432+
... WHERE project = 'stackql-demo'
433+
... AND zone = 'australia-southeast1-a'
432434
... GROUP BY machine_type, status
433435
... HAVING COUNT(*) > 2\"\"\"
434436
>>> result = stackql.execute(stackql_query)

0 commit comments

Comments
 (0)