Skip to content

Commit

Permalink
Merge pull request #177 from flairNLP/fix-article-attributes
Browse files Browse the repository at this point in the history
Fix Incorrect Article Variable Name `author` -> `authors`
  • Loading branch information
dobbersc committed Apr 25, 2023
2 parents fe6940d + 6162c80 commit 6108bad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fundus/scraping/article.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class Article:

# supported attributes as defined in the guidelines
title: Optional[str] = None
author: List[str] = field(default_factory=list)
authors: List[str] = field(default_factory=list)
body: Optional[ArticleBody] = None
publishing_date: Optional[datetime] = None
topics: List[str] = field(default_factory=list)
Expand Down

0 comments on commit 6108bad

Please sign in to comment.