Add requested property to BaseDistribution
@@ -311,6 +311,10 @@ class BaseDistribution(Protocol):
return cleaned_line
return ""
+ @property
+ def requested(self) -> bool:
+ return self.is_file("REQUESTED")
+
@property
def editable(self) -> bool:
return bool(self.editable_project_location)
