mirror of
https://gitflic.ru/project/alt-gnome/karkas.git
synced 2024-12-24 00:33:06 +03:00
меняет ocab на karkas в импортах
This commit is contained in:
parent
dc1abeec9f
commit
827e6f6b44
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
@ -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",
|
||||||
|
@ -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")
|
||||||
|
|
||||||
|
@ -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")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user