Skip to content

Refactor to use traitlets + async - #119

Closed
yuvipanda wants to merge 2 commits into
mainfrom
aiohttp
Closed

Refactor to use traitlets + async#119
yuvipanda wants to merge 2 commits into
mainfrom
aiohttp

Conversation

@yuvipanda

@yuvipanda yuvipanda commented Jul 22, 2026

Copy link
Copy Markdown
Member

Start putting all the prometheus related stuff into one class
that we can then configure with Traitlets. This moves us into
being able to put all the AWS stuff into one class too, and then
that is how we can make this generic enough for cloud providers

I would like us to eventually move to Tornado (from fastapi)
to be consistent with what we use in the JupyterHub ecosystem.
One part of that is to make all network stuff async, and this
moves us from `requests` to `aiohttp`, making everything async
as needed as we go.

This isn't complete, a WIP.
Start putting all the prometheus related stuff into one class
that we can then configure with Traitlets. This moves us into
being able to put all the AWS stuff into one class too, and then
that is how we can make this generic enough for cloud providers
@yuvipanda
yuvipanda marked this pull request as draft July 22, 2026 22:59
@yuvipanda yuvipanda changed the title Switch from requests to aiohttp Refactor to use traitlets + async Jul 22, 2026
@yuvipanda

Copy link
Copy Markdown
Member Author

Too many refactors at once! #120 is cleaner

@yuvipanda yuvipanda closed this Jul 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant