[SQLModel] 작년에 보낸 PR에 답변이 왔다.

·
프로그래밍/파이썬
오늘 새벽, 작년에 보냈던 Async-SQLModel 관련 PR에 대한 답변을 받았다.그때 SQLModel에 비동기 필드 접근을 위한 대안을 제안했었는데, 이번에 공식적으로 반려되었다.My personal opinions is that we don't need this.This gives an alternative to lazy load instructions\declarations, but the syntax is not nice:- we have to declare all types as Awaitable[str]- we have to add await every time we access fieldWorking with async SQLAlchemy (and SQLModel) is more diff..