Fix missing import for typing, more type hints
This commit is contained in:
parent
8c9e3f5944
commit
8689910f78
1 changed files with 2 additions and 1 deletions
|
@ -3,6 +3,7 @@ from .doghandler import DogHandler
|
|||
from .directory import Directory
|
||||
from .database import Database
|
||||
from .logger import Logger
|
||||
from .file import File
|
||||
|
||||
from watchdog.observers import Observer
|
||||
|
||||
|
@ -111,7 +112,7 @@ class ShoreThread(Process):
|
|||
db = self._dbclass()
|
||||
db.removeFile(directory, name)
|
||||
|
||||
def addFile(self, fileobj):
|
||||
def addFile(self, fileobj: File):
|
||||
"""Add a File object to the processing queue, if not already there
|
||||
|
||||
Args:
|
||||
|
|
Loading…
Reference in a new issue