19 lines
627 B
Python
19 lines
627 B
Python
"""Cross-source matching service — public API.
|
|
|
|
Provides 3-tier deduplication for houses and listings across Avito, Cian, Yandex, etc.
|
|
Algorithm reference: decisions/Cross_Source_Matching_Strategy.md
|
|
"""
|
|
|
|
from app.services.matching.conflict_resolution import update_canonical_fields
|
|
from app.services.matching.houses import match_or_create_house
|
|
from app.services.matching.listings import (
|
|
match_or_create_listing,
|
|
upsert_listing_source, # public helper for 'new' sentinel flow
|
|
)
|
|
|
|
__all__ = [
|
|
"match_or_create_house",
|
|
"match_or_create_listing",
|
|
"update_canonical_fields",
|
|
"upsert_listing_source",
|
|
]
|