Lichess4545/heltour

use get_league

Open

#638 opened on May 17, 2025

 (0 comments) (0 reactions) (0 assignees)Python (12 forks)auto 404
good first issuepython

Repository metrics

Stars
 (5 stars)
PR merge metrics
 (PR metrics pending)

Description

both (Lone|Team)?PlayerPairing and Round have a get_league method now, which could be used in quite a few places in our code, and especially for the Pairing objects would simplify the code. so actually use them. note to self: search for something like round.season.league to find those places.

(i'm personally holding off on that one until there are more tests, #630, because i am afraid of accidentally breaking something.)

Contributor guide