Merge remote-tracking branch 'origin/experimental' into experimental
This commit is contained in:
commit
d08abe42cb
@ -1,5 +1,6 @@
|
||||
from pathlib import Path
|
||||
from typing import List, Tuple, TextIO
|
||||
import logging
|
||||
|
||||
import requests
|
||||
from tqdm import tqdm
|
||||
@ -8,6 +9,9 @@ from .parents import DatabaseObject
|
||||
from ..utils import shared
|
||||
|
||||
|
||||
LOGGER = logging.getLogger("target")
|
||||
|
||||
|
||||
class Target(DatabaseObject):
|
||||
"""
|
||||
create somehow like that
|
||||
@ -67,6 +71,7 @@ class Target(DatabaseObject):
|
||||
|
||||
def copy_content(self, copy_to: "Target"):
|
||||
if not self.exists:
|
||||
LOGGER.warning(f"No file exists at: {self.file_path}")
|
||||
return
|
||||
|
||||
with open(self.file_path, "rb") as read_from:
|
||||
|
Loading…
Reference in New Issue
Block a user