Skip to content

Make DependencyInfo a data class to simplify code #2624

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

RunDevelopment
Copy link
Member

This PR makes DependencyInfo to use optional fields to simplify our declared dependencies.

@joeyballentine joeyballentine merged commit 1f68836 into chaiNNer-org:double-server Feb 28, 2024
@RunDevelopment RunDevelopment deleted the dep-data-class branch February 28, 2024 18:40
joeyballentine added a commit that referenced this pull request Mar 1, 2024
* first attempt at proxy server

* use aiohttp since its faster

* more proxying

* better proxy method

* Separate installing deps and loading nodes

* correctly parse packages stuff (mostly)

* I spent an hour debugging this....

* remove setup event queue

* threads

* stuff

* dumbest shit i've seen in my life

* Add back logging of subprocess

* remove proxy logging

* remove more unneeded logging

* forward SSE requests

* Hide internal packages from main packages request

* Various cleanup

* stop sub server on close

* wait for nodes response

* change order of events a tad

* fix order

* Trying something different

* maybe this will work better

* lint/remove commented code

* potential CI fix

* add extra index urls to builtin dep installs

* technically more correct way to do multiple

* safer get

* dont pass through flags

* revert requests, fix lint

* pass in flags only when deps need to be installed

temporary

* just pyright things

* oops

* change to for loop

* Fix some potential race conditions

* fix more potential issues

* remove arg print statement

* use daemon thread

* Make `DependencyInfo` a data class to simplify code (#2624)

* Make `DependencyInfo` a data class to simplify code

* Minor bug

* Attempt to silence FFMPEG more

* don't timeout /run requests

* PR suggestions

---------

Co-authored-by: Michael Schmidt <mitchi5000.ms@googlemail.com>
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.

2 participants