인프런 커뮤니티 질문&답변
fetch 함수에 staticmethod 이유
작성
·
259
퀴즈
What is the biggest difference between WSGI and ASGI, which are communication protocols between web servers and Python applications?
WSGI is used on Windows, and ASGI is used on Linux.
WSGI handles only sync requests, ASGI handles async requests too.
WSGI manages database connections, and ASGI manages file uploads.
WSGI is for development, ASGI is a deployment server.
답변 1
0
윤상석
지식공유자
안녕하세요!
@staticmethod를 사용한 이유는 정적 함수로서 의미를 가질 수 있기에 사용했습니다!
인스턴스 매소드로 사용되지 않고 클래스 매소드로도 사용될 일이 없기 때문이죠!





