Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SimpleKVDiskStore does not support SummonerDto #24

Open
johanb99 opened this issue Mar 21, 2019 · 0 comments
Open

SimpleKVDiskStore does not support SummonerDto #24

johanb99 opened this issue Mar 21, 2019 · 0 comments

Comments

@johanb99
Copy link

johanb99 commented Mar 21, 2019

After making more than one call through cass with SimpleKVDiskStore in my pipeline, I get this:

2019-03-21 03:54:35: datapipelines.common.UnsupportedError: The type "SummonerDto" is not supported by this DataSource!
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/merakicommons/ghost.py", line 41, in wrapper
return method(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/cassiopeia/core/summoner.py", line 139, in account_id
return self._data[SummonerData].accountId
AttributeError: 'SummonerData' object has no attribute 'accountId'

Here is my pipeline:

        "pipeline": {
            "SimpleKVDiskStore": {
                "package": "cassiopeia_diskstore",
                "expirations": {
                    "RealmDto": datetime.timedelta(hours=6),
                    "VersionListDto": datetime.timedelta(hours=6),
                    "ChampionDto": datetime.timedelta(hours=24),
                    "ChampionListDto": datetime.timedelta(hours=24),
                    "RuneDto": 0,
                    "RuneListDto": 0,
                    "ItemDto": 0,
                    "ItemListDto": 0,
                    "SummonerSpellDto": 0,
                    "SummonerSpellListDto": 0,
                    "MapDto": 0,
                    "MapListDto": 0,
                    "ProfileIconDetailsDto": 0,
                    "ProfileIconDataDto": 0,
                    "LanguagesDto": -1,
                    "LanguageStringsDto": -1,
                    "ChampionRotationDto": 0,
                    "ChampionMasteryDto": 0,
                    "ChampionMasteryListDto": 0,
                    "LeaguePositionsDto": 0,
                    "LeagueListDto": 0,
                    "ChallengerLeagueListDto": 0,
                    "MasterLeagueListDto": 0,
                    "MatchDto": 0,
                    "TimelineDto": 0,
                    "SummonerDto": 0,
                    "ShardStatusDto": 0,
                    "CurrentGameInfoDto": 0,
                    "FeaturedGamesDto": 0,
                    "PatchListDto": datetime.timedelta(days=1)
                }
            },
            "DDragon": {},
            "RiotAPI": {
                "api_key": "RIOT_API_KEY"
            }
        },
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant