sanic-testing icon indicating copy to clipboard operation
sanic-testing copied to clipboard

Test Client Type Annotation and Common Parent Class

Open ChihweiLHBird opened this issue 3 years ago • 0 comments

The type annotation of Sanic app's test_client currently is Any. Create a better type for it can make test dev experience better. I think adding a parent class, either abstract or non-abstract class, is one of the ways to solve this.

ChihweiLHBird avatar Jul 01 '22 03:07 ChihweiLHBird