fixed small import issue
This commit is contained in:
1 parent
8f32443562
commit
330ad1b0fe
4 files changed
+10
-10
No files matched your search
@@ -4,7 +4,7 @@ import pathlib
|
|||||||
from functools import cache
|
from functools import cache
|
||||||
from enum import Enum
|
from enum import Enum
|
||||||
|
|
||||||
from monitor_utils.src.constants import (
|
from monitor_utils.constants import (
|
||||||
PROXIES_PATH,
|
PROXIES_PATH,
|
||||||
PROJECT_ROOT,
|
PROJECT_ROOT,
|
||||||
PRODUCTION_BOT_TOKEN,
|
PRODUCTION_BOT_TOKEN,
|
||||||
|
|||||||
@@ -7,8 +7,8 @@ from motor.motor_asyncio import AsyncIOMotorClient, AsyncIOMotorCollection
|
|||||||
from pymongo import UpdateOne
|
from pymongo import UpdateOne
|
||||||
from pymongo.errors import PyMongoError
|
from pymongo.errors import PyMongoError
|
||||||
|
|
||||||
from monitor_utils.src.models import Product
|
from monitor_utils.models import Product
|
||||||
from monitor_utils.src.constants import STATUS_PENDING, MONGO_DATABASE_NAME, MONGO_URL
|
from monitor_utils.constants import STATUS_PENDING, MONGO_DATABASE_NAME, MONGO_URL
|
||||||
|
|
||||||
LOGGER = logging.getLogger(__name__)
|
LOGGER = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|||||||
@@ -7,21 +7,21 @@ import aiohttp
|
|||||||
from curl_cffi.requests import AsyncSession
|
from curl_cffi.requests import AsyncSession
|
||||||
from motor.motor_asyncio import AsyncIOMotorCollection
|
from motor.motor_asyncio import AsyncIOMotorCollection
|
||||||
|
|
||||||
from monitor_utils.src.constants import (
|
from monitor_utils.constants import (
|
||||||
EXPECTED_TASK_ERRORS,
|
EXPECTED_TASK_ERRORS,
|
||||||
FLAG_WEBHOOK_MAP,
|
FLAG_WEBHOOK_MAP,
|
||||||
BUCKET_WEBHOOK_MAP,
|
BUCKET_WEBHOOK_MAP,
|
||||||
)
|
)
|
||||||
from monitor_utils.src.config import get_config, is_production, DevelopmentMode
|
from monitor_utils.config import get_config, is_production, DevelopmentMode
|
||||||
from monitor_utils.src.models import (
|
from monitor_utils.models import (
|
||||||
Product,
|
Product,
|
||||||
ProductMetadata,
|
ProductMetadata,
|
||||||
ProductTiming,
|
ProductTiming,
|
||||||
PricingInfo,
|
PricingInfo,
|
||||||
AvailabilityInfo,
|
AvailabilityInfo,
|
||||||
)
|
)
|
||||||
from monitor_utils.src.sessions import get_base_session, get_tls_session
|
from monitor_utils.sessions import get_base_session, get_tls_session
|
||||||
from monitor_utils.src.database import get_collection
|
from monitor_utils.database import get_collection
|
||||||
|
|
||||||
LOGGER = logging.getLogger(__name__)
|
LOGGER = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|||||||
@@ -21,8 +21,8 @@ from tenacity import (
|
|||||||
wait_fixed,
|
wait_fixed,
|
||||||
)
|
)
|
||||||
|
|
||||||
from monitor_utils.src.config import get_proxies
|
from monitor_utils.config import get_proxies
|
||||||
from monitor_utils.src.constants import (
|
from monitor_utils.constants import (
|
||||||
CLIENT_TIMEOUT,
|
CLIENT_TIMEOUT,
|
||||||
TIMEOUT_SECONDS,
|
TIMEOUT_SECONDS,
|
||||||
CLIENT_IDENTIFIERS,
|
CLIENT_IDENTIFIERS,
|
||||||
|
|||||||
Reference in new issue
Block a user