You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
right now some of the abstract classes like BlobLatest have examples which are for the concrete classes. This should be improved. Right now the switch to docasaurus is in progress, this should be done after so a good feeling for a proper user experience can be verified.
The issue highlights two documentation improvements: first, providing a clear example for ParallelQuerySet as per the title, and second, correcting the Example usage blocks in abstract/base classes (such as BlobNewestDataCSV, EntityUpdateDataCSV, and EntityDeleteDataCSV), which currently incorrectly demonstrate usage of concrete subclasses (like ImageForceNewestDataCSV or ImageDeleteDataCSV).
Here are three possible approaches to resolve this:
Approach 1: Replace concrete classes with the abstract classes in examples + add ParallelQuerySet example
Modify BlobNewestDataCSV.py (line 82), EntityUpdateDataCSV.py (line 61), and EntityDataCSV.py (line 102) to instantiate their respective abstract classes directly using generic or mock parameters.
Add a comprehensive Example usage block to ParallelQuerySet.py (line 351).
Pros: Directly addresses the issue description. Keeps documentation strictly focused on the class being documented.
Cons: Abstract classes are often meant to be subclassed, so direct instantiation might feel slightly less practical than a real-world concrete example.
Approach 2: Keep concrete examples but add explicit clarification + add ParallelQuerySet example
Retain the existing concrete subclasses (e.g., ImageForceNewestDataCSV) in the code blocks, but add a docstring note explicitly explaining that this is a concrete implementation of the current abstract class.
Add the example to ParallelQuerySet.py.
Pros: Provides users with a practical, real-world scenario they are more likely to encounter.
Cons: Doesn't technically "fix" the examples to use the class the user is reading about, which goes against the explicit request in the issue.
Approach 3: Demonstrate custom subclassing in the examples + add ParallelQuerySet example
Rewrite the examples to show a small 2-line snippet creating a custom subclass (e.g., class MyBlobUpdater(BlobNewestDataCSV):), followed by instantiating it.
Add the example to ParallelQuerySet.py.
Pros: Shows the architecturally "correct" way to use these base classes.
Cons: Makes the example blocks more verbose and potentially distracting.
Recommendation:
I recommend Approach 1. We should replace the concrete class names with the actual base class names being documented (e.g. changing ImageForceNewestDataCSV to BlobNewestDataCSV in BlobNewestDataCSV.py). We will also add a clear example block to ParallelQuerySet.py showing how to initialize and use it with a CSVParser or query generator. This directly satisfies both the title and the body of the issue with minimal complexity.
Activity
ad-claw000 commentedon Aug 12, 2026
The issue highlights two documentation improvements: first, providing a clear example for
ParallelQuerySetas per the title, and second, correcting theExample usageblocks in abstract/base classes (such asBlobNewestDataCSV,EntityUpdateDataCSV, andEntityDeleteDataCSV), which currently incorrectly demonstrate usage of concrete subclasses (likeImageForceNewestDataCSVorImageDeleteDataCSV).Here are three possible approaches to resolve this:
Approach 1: Replace concrete classes with the abstract classes in examples + add
ParallelQuerySetexampleBlobNewestDataCSV.py(line 82),EntityUpdateDataCSV.py(line 61), andEntityDataCSV.py(line 102) to instantiate their respective abstract classes directly using generic or mock parameters.Example usageblock toParallelQuerySet.py(line 351).Approach 2: Keep concrete examples but add explicit clarification + add
ParallelQuerySetexampleImageForceNewestDataCSV) in the code blocks, but add a docstring note explicitly explaining that this is a concrete implementation of the current abstract class.ParallelQuerySet.py.Approach 3: Demonstrate custom subclassing in the examples + add
ParallelQuerySetexampleclass MyBlobUpdater(BlobNewestDataCSV):), followed by instantiating it.ParallelQuerySet.py.Recommendation:
I recommend Approach 1. We should replace the concrete class names with the actual base class names being documented (e.g. changing
ImageForceNewestDataCSVtoBlobNewestDataCSVinBlobNewestDataCSV.py). We will also add a clear example block toParallelQuerySet.pyshowing how to initialize and use it with aCSVParseror query generator. This directly satisfies both the title and the body of the issue with minimal complexity.