-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
Hi there!
appreciate the work. Quick question: What's the point of using Protocol instead of ABC here? Is this just a mypy issue? As someone looking at the codebase for the first time, there is basically no reference in the concrete implementations (e.g. QdrantSearch). This makes is harder to understand that the concrete implementation conforms the the abstract class if you don't happen to look in the /src/types directory. With an ABC class you have that connection and additionally can use the @overload decorator to make it clear. Let me know what you think.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels