Description
What were you searching in the docs?
While investigating the capabilities of the batch processor in Python for a similar implementation in TypeScript, I found an inconsistency in the description compared to the code example.
The description states that developers should inherit the BasePartialProcessor
class, which would require them to implement the abstract methods of prepare
, clean
, and process_record
(or async_process_record
).
However, the code example creates a class that inherits the BasePartialBatchProcessor
class.
Is this related to an existing documentation section?
How can we improve?
There should be clarity on which class developers are meant to inherit from.
If developers should inherit from BasePartialProcessor
, the code example should be updated so that the code is usable. This may require other backend updates, as several pieces of functionality in the code example are reliant on capabilities of the BasePartialBatchProcessor
class.
Got a suggestion in mind?
No response
Acknowledgment
- I understand the final update might be different from my proposed suggestion, or refused.
Metadata
Metadata
Assignees
Type
Projects
Status