feat(python/robomp): added authorizes_impl support to task directive processing
- Included authorizes_impl field when attaching threads to directives. - Added a test case to ensure the author authorization flag is preserved during directive hydration.
This commit is contained in:
@@ -155,7 +155,13 @@ async def _attach_thread(
|
||||
if directive is None:
|
||||
return None
|
||||
thread = await _fetch_thread(github, repo, number, is_pr=is_pr)
|
||||
return DirectiveInfo(body=directive.body, author=directive.author, thread=thread, pragmas=directive.pragmas)
|
||||
return DirectiveInfo(
|
||||
body=directive.body,
|
||||
author=directive.author,
|
||||
thread=thread,
|
||||
pragmas=directive.pragmas,
|
||||
authorizes_impl=directive.authorizes_impl,
|
||||
)
|
||||
|
||||
|
||||
async def _resolve_repo_and_issue(
|
||||
|
||||
Reference in New Issue
Block a user