code: def from_both(cls, tags_file: str, tags_folder: str, folder: str) -> 'TrainData':
          
          return cls.from_tags(tags_file, tags_folder) + cls.from_folder(folder)
docs: Load data from both a database and a structured folder