async def get_prs(self, from_branch: Optional[str]=None, from_user: Optional[str]=None, to_branch: Optional[str]=None, number: Optional[int]=None, state: Optional[IssueState]=None) -> List[Dict[(Any, Any)]]:
    'Retrieve list of PRs matching parameters\n\n        Arguments:\n          from_branch: Name of branch from which PR asks to pull\n          from_user: Name of user/org in from which to pull\n                     (default: from auth)\n          to_branch: Name of branch into which to pull (default: master)\n          number: PR number\n        '
    var_data = copy(self.var_default)
    if (not from_user):
        from_user = self.username
    if from_branch:
        if from_user:
            var_data['head'] = f'{from_user}:{from_branch}'
        else:
            var_data['head'] = from_branch
    if to_branch:
        var_data['base'] = to_branch
    if number:
        var_data['number'] = str(number)
    if state:
        var_data['state'] = state.name.lower()
    return (await self.api.getitem(self.PULLS, var_data))
Retrieve list of PRs matching parameters

Arguments:
  from_branch: Name of branch from which PR asks to pull
  from_user: Name of user/org in from which to pull
             (default: from auth)
  to_branch: Name of branch into which to pull (default: master)
  number: PR number
async def get_prs(self, from_branch: Optional[str]=None, from_user: Optional[str]=None, to_branch: Optional[str]=None, number: Optional[int]=None, state: Optional[IssueState]=None) -> List[Dict[(Any, Any)]]:
    'Retrieve list of PRs matching parameters\n\n        Arguments:\n          from_branch: Name of branch from which PR asks to pull\n          from_user: Name of user/org in from which to pull\n                     (default: from auth)\n          to_branch: Name of branch into which to pull (default: master)\n          number: PR number\n        '
    var_data = copy(self.var_default)
    if (not from_user):
        from_user = self.username
    if from_branch:
        if from_user:
            var_data['head'] = f'{from_user}:{from_branch}'
        else:
            var_data['head'] = from_branch
    if to_branch:
        var_data['base'] = to_branch
    if number:
        var_data['number'] = str(number)
    if state:
        var_data['state'] = state.name.lower()
    return (await self.api.getitem(self.PULLS, var_data))