sanic-org / sanic

Accelerate your web app development | Build fast. Run fast.

Home Page:https://sanic.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Don't show warning on bytes in shared_ctx

ahopkins opened this issue · comments

Is there an existing issue for this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe.

No response

Describe the solution you'd like

When sending bytes over shared_ctx we should not display this:

Unsafe object num with type <class 'bytes'> was added to shared_ctx. It may not not function as intended. Consider using the regular ctx.

Additional context

No response