Skip to content

sort parameter missing from export_by_player? #43

@supermitch

Description

@supermitch
  • berserk version: berserk-downstream 0.11.6
  • Python version: 3.9.5
  • Operating System: Mac

Description

Lichess API has sort param: https://lichess.org/api#operation/apiUserCurrentGame
But berserk is throwing TypeError: export_by_player() got an unexpected keyword argument 'sort'

What I Did

Tried to call:

games = client.games.export_by_player(
    user_a,
    vs=user_b,
    since=start,
    rated='true',
    sort='dateAsc',
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions