@@ -64,14 +64,17 @@ def get_releases_by_name(self, name: str) -> List[Any]:
6464
6565 # return type List[Dict[str, Any]] | Optional[Dict[str, Any]] for Python 3.11 is good,
6666 # Union[List[Dict[str, Any]], Optional[Dict[str, Any]]] for lower Python versions is not good
67- def get_all_releases (self , fields : str = "" , all_details : bool = False , page : int = - 1 ,
67+ def get_all_releases (self , fields : str = "" , all_details : bool = False ,
68+ isNewClearingWithSourceAvailable : bool = False , page : int = - 1 ,
6869 page_size : int = - 1 , sort : str = "" ) -> Any :
6970 """Get information of about all releases
7071
7172 API endpoint: GET /releases
7273
7374 :param all_details: retrieve all project details (optional))
7475 :type all_details: bool
76+ :param isNewClearingWithSourceAvailable: retrieve releases in new clearning state with source avail
77+ :type isNewClearingWithSourceAvailable: bool
7578 :param page: page to retrieve
7679 :type page: int
7780 :param page_size: page size to use
@@ -86,6 +89,9 @@ def get_all_releases(self, fields: str = "", all_details: bool = False, page: in
8689 if all_details :
8790 full_url = self ._add_param (full_url , "allDetails=true" )
8891
92+ if isNewClearingWithSourceAvailable :
93+ full_url = self ._add_param (full_url , "isNewClearingWithSourceAvailable=true" )
94+
8995 if fields :
9096 full_url = self ._add_param (full_url , "fields=" + fields )
9197
0 commit comments