posit-dev / py-shiny-workshop

https://posit-dev.github.io/py-shiny-workshop
MIT License
18 stars 33 forks source link

metric defined twice, causing error in many exercises #59

Closed garrettgman closed 4 months ago

garrettgman commented 4 months ago

Many of the exercises define both a function named metric() as well as an input named metric. As a result, a Shiny Client Error pop up appears when you run the problem code or the solution code (pictured below).

This bug was inherited by the Talk Python to Me course.

Screenshot 2024-07-08 at 1 57 54 PM