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.
1 parent 5fa819f commit af5d414Copy full SHA for af5d414
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