Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The key annotation in the sand function states that it is an optional value,why not use it will cause errors #2441

Closed
ganciganci opened this issue Jul 5, 2024 · 1 comment

Comments

@ganciganci
Copy link

TypeError: descriptor 'encode' for 'str' objects doesn't apply to a 'NoneType' object
but: key (optional)
why?

@ganciganci ganciganci changed the title The key annotation in the sand function states that it is an optional value,why not use it but report an error The key annotation in the sand function states that it is an optional value,why not use it will cause errors Jul 8, 2024
@dpkp
Copy link
Owner

dpkp commented Feb 13, 2025

I can't reproduce this error.

@dpkp dpkp closed this as not planned Won't fix, can't repro, duplicate, stale Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants