mirror of
https://github.com/simon987/od-database.git
synced 2025-12-14 15:19:03 +00:00
Started working on post-crawl callbacks and basic auth for crawl servers
This commit is contained in:
@@ -41,9 +41,12 @@ class Task:
|
||||
"callback_args": json.dumps(self.callback_args)
|
||||
}
|
||||
|
||||
def __repr__(self):
|
||||
def __str__(self):
|
||||
return json.dumps(self.to_json())
|
||||
|
||||
def __repr__(self):
|
||||
return self.__str__()
|
||||
|
||||
|
||||
class TaskManagerDatabase:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user