меняет ocab на karkas в импортах

This commit is contained in:
Maxim Slipenko 2024-08-19 11:30:13 +03:00
parent dc1abeec9f
commit 827e6f6b44
No known key found for this signature in database
GPG Key ID: 6DEA9FA7DE98C7D6
5 changed files with 14 additions and 10 deletions

View File

@ -9,7 +9,8 @@ from aiogram.types import (
ReplyKeyboardMarkup, ReplyKeyboardMarkup,
ReplyKeyboardRemove, ReplyKeyboardRemove,
) )
from ocab_core.modules_system.public_api import Utils, get_fsm_context
from karkas_core.modules_system.public_api import Utils, get_fsm_context
from .report import Report from .report import Report

View File

@ -9,7 +9,8 @@ from aiogram.types import (
InlineKeyboardMarkup, InlineKeyboardMarkup,
Message, Message,
) )
from ocab_core.modules_system.public_api import get_module, register_router
from karkas_core.modules_system.public_api import get_module, register_router
from .create_report import router as create_report_router from .create_report import router as create_report_router
from .create_report import start_report from .create_report import start_report

View File

@ -3,13 +3,14 @@ from typing import TYPE_CHECKING
from aiogram import Bot from aiogram import Bot
from aiogram.types import Message from aiogram.types import Message
from ocab_core.modules_system.public_api import get_module, log
from karkas_core.modules_system.public_api import get_module, log
from .yandexgpt import YandexGPT from .yandexgpt import YandexGPT
if TYPE_CHECKING: if TYPE_CHECKING:
from ocab_modules.standard.config import IConfig from karkas_blocks.standard.config import IConfig
from ocab_modules.standard.database.db_api import add_message as IAddMessage from karkas_blocks.standard.database.db_api import add_message as IAddMessage
config: "IConfig" = get_module( config: "IConfig" = get_module(
"standard.config", "standard.config",

View File

@ -1,9 +1,9 @@
from typing import TYPE_CHECKING from typing import TYPE_CHECKING
from ocab_core.modules_system.public_api import get_module from karkas_core.modules_system.public_api import get_module
if TYPE_CHECKING: if TYPE_CHECKING:
from ocab_modules.standard.config import IConfig from karkas_blocks.standard.config import IConfig
config: "IConfig" = get_module("standard.config", "config") config: "IConfig" = get_module("standard.config", "config")

View File

@ -4,11 +4,12 @@ from typing import TYPE_CHECKING
import aiohttp import aiohttp
import requests import requests
from ocab_core.modules_system.public_api import get_module, log
from karkas_core.modules_system.public_api import get_module, log
if TYPE_CHECKING: if TYPE_CHECKING:
from ocab_modules.standard.config import IConfig from karkas_blocks.standard.config import IConfig
from ocab_modules.standard.database import db_api as IDbApi from karkas_blocks.standard.database import db_api as IDbApi
db_api: "IDbApi" = get_module("standard.database", "db_api") db_api: "IDbApi" = get_module("standard.database", "db_api")