This website works better with JavaScript.
Home
Explore
Help
Sign In
JustAnotherArchivist
/
qwarc
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
13
Wiki
Activity
Browse Source
Add Item representation
master
JustAnotherArchivist
3 years ago
parent
5675118877
commit
4484d6c588
1 changed files
with
3 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
qwarc/__init__.py
+ 3
- 0
qwarc/__init__.py
View File
@@ -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):
Write
Preview
Loading…
Cancel
Save