andrewmusselman commented on issue #258:
URL:
https://github.com/apache/tooling-trusted-releases/issues/258#issuecomment-3457552565
@sbp is it still an accurate summary/starting point that the goal for this
issue is to replace whimsy with LDAP in these two functions in
`atr/datasource/apache.py`?
```
async def get_active_committee_data() -> CommitteeData:
"""Returns the list of currently active committees."""
async with aiohttp.ClientSession() as session:
async with session.get(_WHIMSY_COMMITTEE_INFO_URL) as response:
response.raise_for_status()
data = await response.json()
return CommitteeData.model_validate(data)
```
```
async def get_ldap_projects_data() -> LDAPProjectsData:
async with aiohttp.ClientSession() as session:
async with session.get(_WHIMSY_PROJECTS_URL) as response:
response.raise_for_status()
data = await response.json()
return LDAPProjectsData.model_validate(data)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]