meraki-analytics/cassiopeia-datastores

LeagueListDto, LeaguePositionsDto does not exist in cassiopeia

Lyie123 opened this issue · 3 comments

Hi,
what are the equivalent classes in cassiopeia?
LeagueListDto, LeaguePositionsDto does not exist anymore in cassiopeia.

Greetings

I'm not sure when you last used Cass, but the latest League classes can be found here: https://cassiopeia.readthedocs.io/en/latest/cassiopeia/league.html#leagues

Also, you may be in the wrong repository. This repo is for plugins for Cass and is not the main repo.

Hello @jjmaldonis,
cassiopeia-sqlstore/league.py

from cassiopeia.dto.league import LeagueListDto, LeaguePositionDto, LeaguePositionsDto

cassiopeia-sqlstore/sqlstore.py

from cassiopeia.dto.league import LeagueListDto, LeaguePositionsDto, ChallengerLeagueListDto, MasterLeagueListDto, GrandmasterLeagueListDto

The problem is, that this classes (LeagueListDto, LeaguePositionsDto) not longer exists in cassiopeia.dto.league.

Sorry if I'am wrong or miss something. I'am just a beginner.

Ahh, the SQL plugin may be out of date. I haven't been paying any attention to it, and largely let people update it as they need it. This looks like it's going to be one of those times... I'll be honest, I'm going to let you dig into it if you want and update it. There are probably a handful of class -- mostly league related as you've found -- that need to be updated.