ilpost-api-wrapper 0.4.0__tar.gz → 0.4.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ilpost-api-wrapper
3
- Version: 0.4.0
3
+ Version: 0.4.1
4
4
  Summary: Python wrapper for Il Post newspaper API
5
5
  Author: Antonio Girasella
6
6
  License-Expression: MIT
@@ -94,7 +94,7 @@ class Document:
94
94
 
95
95
  @property
96
96
  def is_article(self) -> bool:
97
- return self.type == "post"
97
+ return self.type in ("post", "flashes", "blog_post")
98
98
 
99
99
  @property
100
100
  def is_podcast(self) -> bool:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ilpost-api-wrapper
3
- Version: 0.4.0
3
+ Version: 0.4.1
4
4
  Summary: Python wrapper for Il Post newspaper API
5
5
  Author: Antonio Girasella
6
6
  License-Expression: MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "ilpost-api-wrapper"
7
- version = "0.4.0"
7
+ version = "0.4.1"
8
8
  description = "Python wrapper for Il Post newspaper API"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.9"