Login
You're viewing the mstdn.social public feed.

Replies

  • 💬 1🔄 0⭐ 0
  • Nov 28, 2024, 1:07 PM

    @mistersql Could only add 4 poll options (might be a limit in the instance I'm on) so had to condense the choices down quite a bit from what I had originally planned.

    The reason was that I did a code review and wanted to comment on the simplistic Dict as a type hint, but then saw that it was basically done in the whole codebase and the function in question was just calling another that returned the Dict, so that got me wondering how strict people are.

    💬 1🔄 0⭐ 0
  • Nov 28, 2024, 2:21 PM

    @hvdklauw This is an unsolved problem IMHO, the people supporting the Typing library keep innovating and adding new ways to type the dicts

    💬 0🔄 0⭐ 0