>>> from slugify import slugify
>>> slugify(123)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Users\CodyC\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\slugify\slugify.py", line 95, in slugify
text = str(text, 'utf-8', 'ignore')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: decoding to str: need a bytes-like object, int found
There is code present to convert any non-Str values passed in into Str; however, I don't think this part of the code can ever be reached. Example: