We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a0f79a3 + af5d414 commit 873a8fdCopy full SHA for 873a8fd
pystac/serialization/identify.py
@@ -118,7 +118,7 @@ def latest_valid_version(self) -> STACVersionID:
118
def contains(self, v: Union[str, STACVersionID]) -> bool:
119
if isinstance(v, str):
120
v = STACVersionID(v)
121
- return self.min_version <= v and v <= self.max_version
+ return self.min_version <= v <= self.max_version
122
123
def is_single_version(self) -> bool:
124
return self.min_version >= self.max_version
0 commit comments