Skip to content

Commit

Permalink
Merge pull request #88 from mohi7solanki/master
Browse files Browse the repository at this point in the history
Make Query.write() to non-interactive and silent
  • Loading branch information
amyreese committed Jun 20, 2019
2 parents 19c9f7d + 375e31a commit db5cd2d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bowler/query.py
Original file line number Diff line number Diff line change
Expand Up @@ -1013,4 +1013,4 @@ def silent(self, **kwargs) -> "Query":
return self.execute(silent=True, **kwargs)

def write(self, **kwargs) -> "Query":
return self.execute(write=True, **kwargs)
return self.execute(write=True, silent=True, interactive=False, **kwargs)
2 changes: 1 addition & 1 deletion docs/api-query.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ Alias for `.execute(interactive=True, write=False)`

### `.write()`

Alias for `.execute(interactive=False, write=True)`
Alias for `.execute(interactive=False, write=True, silent=True)`

### `.dump()`

Expand Down

0 comments on commit db5cd2d

Please sign in to comment.