소스 검색

Add Item representation

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

+ 3
- 0
qwarc/__init__.py 파일 보기

@@ -204,6 +204,9 @@ class Item:
yield subclass
yield from subclass.get_subclasses()

def __repr__(self):
return f'<{type(self).__module__}.{type(self).__name__} object {id(self)}, itemType = {self.itemType!r}, itemValue = {self.itemValue!r}>'


class QWARC:
def __init__(self, itemClasses, warcBasePath, dbPath, command, specFile, specDependencies, logFilename, concurrency = 1, memoryLimit = 0, minFreeDisk = 0, warcSizeLimit = 0, warcDedupe = False):


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