Skip to content

TypeError: __init__() got an unexpected keyword argument 'vod_offset' #22

Closed
@rkamogh

Description

@rkamogh

Here is the code
warning:root:No model for prediction available -> every clip is chosen as valid (ingame)
Traceback (most recent call last):
File "main.py", line 17, in
ch.get_clips(
File "C:\Users\Amogh\Desktop\TwitchCompilationCreator-2.0\src\ClipHandler.py", line 46, in get_clips
self.get_game_clips(utils.get_headers(), timespan, language, kwargs)
File "C:\Users\Amogh\Desktop\TwitchCompilationCreator-2.0\src\ClipHandler.py", line 78, in get_game_clips
self.handle_response_data(resp.json(), language, creator_counts, filter_information)
File "C:\Users\Amogh\Desktop\TwitchCompilationCreator-2.0\src\ClipHandler.py", line 136, in handle_response_data
current_clip = Clip(**clip)
TypeError: init() got an unexpected keyword argument 'vod_offset'
then it stops working

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions