250x250
반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- javascript
- nodejs
- Jenkins
- error
- 500
- webhook
- github
- Spring
- AWS
- springboot
- EC2
- Github Actions
- js
- fastapi
- docker
- React
- Express
- Java
- axios
- RDS
- MUI
- TypeScript
- linux
- Troubleshooting
- MongoDB
- deploy
- ngrok
- python
- macbook
- AWS EC2
Archives
- Today
- Total
728x90
반응형
SMALL
목록asyncio (1)
BEAT A SHOTGUN
[TROUBLESHOOTING] Runtimewarning: coroutine was never awaited
코루틴이 기다리지 않습니다. 당황스럽게도 메서드가 실행되지 않았다. 상황은 이렇다. ERROR ❌ 과거의 나와 당신은 분명 def run(self): return asyncio.run(self.firstfunc()) 이런 함수를 만들어놓고 async def coroutinemethod(): print("wait a moment") async def firstfunc(self): self.coroutinemethod() print("first funct) 이지랄해놓았을거다 Solution ✅ 과거의 나와 당신은 분명 '아늬 함수를 호출했는데 왜? 뭘 안 기다린다는겨' 라고 했을 거지만, 코루틴 함수는 호출하면 함수를 실행하는 게 아니라 코루틴 객체를 생성한다. firstfunc 메서드를 def firstf..
TROUBLESHOOTING
2023. 2. 2. 23:32
728x90
반응형
LIST