Skip to content

Commit

Permalink
Merge pull request #2114 from jenshnielsen/make_flush_private
Browse files Browse the repository at this point in the history
mark flush as private
  • Loading branch information
jenshnielsen committed Aug 14, 2020
2 parents b36699d + 8584931 commit 84648a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion qcodes/dataset/data_set.py
Expand Up @@ -1323,7 +1323,7 @@ def _finalize_res_dict_standalones(

return res_list

def flush_data_to_database(self, block: bool = False) -> None:
def _flush_data_to_database(self, block: bool = False) -> None:
"""
Write the in-memory results to the database.
Expand Down
2 changes: 1 addition & 1 deletion qcodes/dataset/measurements.py
Expand Up @@ -351,7 +351,7 @@ def flush_data_to_database(self, block: bool = False) -> None:
argument has no effect if not using a background thread.
"""
self.dataset.flush_data_to_database(block=block)
self.dataset._flush_data_to_database(block=block)

@property
def run_id(self) -> int:
Expand Down

0 comments on commit 84648a5

Please sign in to comment.