Python FastAPI Async Variable Sharing

后端 未结 0 1411
囚心锁ツ
囚心锁ツ 2020-12-22 22:00

If I had the below code, how would the variable service affect the asynchronous nature of the endpoints? Will the variable be shared? Or will it be locked when in use, thus

相关标签:
回答
  • 消灭零回复
提交回复
热议问题