File tree Expand file tree Collapse file tree 3 files changed +12
-3
lines changed Expand file tree Collapse file tree 3 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 11# CHANGELOG
22
3+ ## v0.7.1
4+
5+ Changed
6+
7+ - Optimized ` InoreaderClient.fetch_articles ` for less API calls when tags are specified
8+
39## v0.7.0
410
511Removed
Original file line number Diff line number Diff line change @@ -166,8 +166,11 @@ def fetch_articles(
166166 ):
167167 self .check_token ()
168168
169- if not stream_id and folder :
170- stream_id = self .GENERAL_TAG_TEMPLATE .format (folder )
169+ if not stream_id :
170+ if folder :
171+ stream_id = self .GENERAL_TAG_TEMPLATE .format (folder )
172+ elif tags :
173+ stream_id = self .GENERAL_TAG_TEMPLATE .format (tags [0 ])
171174
172175 params = {"stream_id" : stream_id , "n" : n , "c" : str (uuid4 ())}
173176 if unread :
Original file line number Diff line number Diff line change 11[project ]
22name = " python-inoreader"
3- version = " 0.7.0 "
3+ version = " 0.7.1 "
44description = " Python wrapper of Inoreader API"
55authors = [
66 {name = " Linusp" , email = " linusp1024@gmail.com" },
You can’t perform that action at this time.
0 commit comments