alv2017
alv2017
> 1. Caching `verify_password`: Introduces a security vulnerability into the application.
@dikos1337, which tool were you using to measure the performance of the tests?
Be careful with types !!! Reminder: https://fastapi.tiangolo.com/reference/security/#fastapi.security.SecurityScopes
@Joao-Pedro-P-Holanda 1) The source code was written quite sometime ago, hence it uses the deprecated annotation typing.List. I think that at the moment you shouldn't worry about it. 2) However...
@alejsdev: I think I will be able to help. Please let me know which tests I can do. ~~`tests.test_tutorial.tests_query_params`: #13215~~ `test_query_params_str_validations`: #13218 `test_testing`: #13220: I'm not sure about that one,...
@MarinPostma: You are not specifying the response model.
Ref.: Breaking in the handling of default value in x-url-encoded forms *test.py* ```python from fastapi.testclient import TestClient from main import app def test_root(): client = TestClient(app) response = client.post("/", data={})...
> Also note that it's only for forms, json bodies work as intended Correction added. :smiley: It would be good if you could show the code, that you are using...
@MarinPostma: thank you for explaining the problem!
There is an opened PR with a similar functionality: https://github.com/fastapi/fastapi/pull/13483