async def list_link(callback: CallbackQuery,id1,**kwargs):
print( await db_commands.select_all_tikers())
await callback.message.answer("Введите ")
user_id = callback.from_user.id
chat_id = callback.id
state = await storage.get_state(user_id, chat_id)
await state.update_data(id1 = id1)
markup = await add_linkc()
await callback.message.edit_reply_markup(markup)
@dp.message_handler(state=Form.Q1)
async def get_life(message: types.Message,state: FSMContext,**kwarg):
tiker1 = message.text
data = await state.get_data()
id1 = data.get("id1")
try:
await db_commands.update_link(link = tiker1, id = id1)
await message.answer("Вы успешно добавили ссылку")
except asyncpg.exceptions.UniqueViolationError:
await message.answer("Ссылка уже есть")
Ошибка TypeError: get_state() takes 1 positional argument but 3 were given
В чем причина?