Skip to content

Refactor: Rename internal write_to_file to buffer_results_in_mongodb #1890

@coderabbitai

Description

@coderabbitai

Context

As discussed in PR #1886 (#1886), we deferred renaming the internal write_to_file struct member to buffer_results_in_mongodb to match the API parameter rename.

Rationale

The name write_to_file is not descriptive and sounds confusing, both as an API parameter and as a struct member. The API parameter has been renamed to buffer_results_in_mongodb for clarity, and the internal struct member should follow suit for consistency.

Scope

This refactoring requires changes to:

  • Python definitions
  • Query task code

This change may be error-prone and requires careful testing.

References

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions