Repairing bug involved with schemas
Pydantic have a problem with correct working on threads. This MR bump schemas with semaphore in get_response_model function, which was sensitive on multithreading. Those changes eliminate problems with race conditions. Performance of this script was save, due to use of caching generated models.
needs: hive!1424 (merged)
Edited by Radosław Masłowski