File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,14 +11,17 @@ with the exception that all versions are currently `0.x.x` and may include break
1111
1212### Added
1313
14- - Use response headers to determine whether to parse HTTP responses into JSON
1514- Added possibility for additional headers and proxies (handled by requests lib)
16- - get() can also return ` list ` type as JSON can also be a list
1715- Documentation for all functions
1816
17+ ### Breaking Changes
18+
19+ - Renamed get_blogs_time() to get_blogs_for_year_month()
20+
1921### Changed
2022
21- ` N/A `
23+ - Use response headers to determine whether to parse HTTP responses into JSON
24+ - get() can also return ` list ` type as JSON can also be a list
2225
2326### Fixed
2427
Original file line number Diff line number Diff line change 1- from .blogs import get_blog , get_blogs , get_blogs_time
1+ from .blogs import get_blog , get_blogs , get_blogs_for_year_month
22from .media import (
33 get_concept_arts ,
44 get_desktop_wallpapers ,
2020__all__ = [
2121 "get_blogs" ,
2222 "get_blog" ,
23- "get_blogs_time " ,
23+ "get_blogs_for_year_month " ,
2424 "BlogPostExcerpt" ,
2525 "BlogPost" ,
2626 "CoverImage" ,
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ def get_blog(slug: str) -> BlogPost:
2929 return BlogPost .from_dict (data )
3030
3131
32- def get_blogs_time (year : int , month : int ) -> list [BlogPostExcerpt ]:
32+ def get_blogs_for_year_month (year : int , month : int ) -> list [BlogPostExcerpt ]:
3333 """Get the most recent blogs within a year and month
3434
3535 Args:
You can’t perform that action at this time.
0 commit comments