Member "create_table" is unknown

I’m writing Discord bot on Disnake. I want make DataBase, but there is a error:

Cannot access member "create_table" for type "UsersDataBase"
  Member "create_table" is unknown

Code snippet:

await self.db.create_table()

Help me plz

Are you sure that the create_table method is defined in your UsersDataBase class?

It would be better to give your repl link so we can analyse it further.