Db
domain.fetch_pipeline.ports.db
Summary
Persistence port for fetch pipeline ambiguity records.
Maps the Ambiguity model to a Mongo-backed document and exposes a
repo factory for the ambiguities collection.
Classes
AmbiguityDocument
Bases: Ambiguity, BaseDocument
Mongo document for ambiguity records.
Combines the domain Ambiguity model with the mongo_ops
document base for repository persistence.
Functions
create_ambiguity_repo
Create the ambiguity repository backed by Mongo.
Returns:
| Type | Description |
|---|---|
|
Repository over the |