소스 검색

Make optional arguments to fetch kwarg-only

master
JustAnotherArchivist 3 년 전
부모
커밋
ce7f8fdc92
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      qwarc/__init__.py

+ 1
- 1
qwarc/__init__.py 파일 보기

@@ -73,7 +73,7 @@ class Item:
out.append((key, value))
return out

async def fetch(self, url, responseHandler = None, method = 'GET', data = None, headers = [], verify_ssl = True, timeout = 60, fromResponse = None):
async def fetch(self, url, *, responseHandler = None, method = 'GET', data = None, headers = [], verify_ssl = True, timeout = 60, fromResponse = None):
'''
HTTP GET or POST a URL



불러오는 중...
취소
저장