Data parsing and validation using Python type hints
-
Updated
Feb 8, 2021 - Python
We get the return annotation for free, so we should allow users to do something with it.
Add a description, image, and links to the python38 topic page so that developers can more easily learn about it.
To associate your repository with the python38 topic, visit your repo's landing page and select "manage topics."
Currently, when the bot is starting up, it will think that we changed the branding assets due to its lack of data, and change the server icon. This can be solved by adding a call to
self.refresh()in this functionhttps://github.com/python-discord/bot/blob/9e1dd9d6ddcf1bbf4762cac34745a5748787e887/bot/exts/backend/branding/_cog.py#L140-L143