Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mark flush as private #2114

Merged
merged 2 commits into from Aug 14, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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