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

sort parameter missing from export_by_player? #43

Open
supermitch opened this issue Nov 17, 2021 · 0 comments
Open

sort parameter missing from export_by_player? #43

supermitch opened this issue Nov 17, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@supermitch
Copy link

  • 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',
)
spralja added a commit to spralja/berserk that referenced this issue Dec 28, 2021
@rhgrant10 rhgrant10 added the bug Something isn't working label Apr 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants