-
Notifications
You must be signed in to change notification settings - Fork 6
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
Fixed FastAPIServer uvicorn path #15
Conversation
@mrichar1 the paths were on the following format
and I removed the |
Thanks for fixing this. For completeness we probably need tests and a sample_app for this to ensure everything runs as expected in future if there are any changes to the guvicorn/fastapi interfaces. The steps for this are:
You should then be able to run |
@mrichar1 Sure, however, I don't really have the time now, if this looks good, you can merge and I'll PR the tests and an example within the next 5-7 days. |
@mrichar1 Hello, sorry for being late. I currently won't be able to push this because my machine got ruined. I'll be spending some time before I get a new one. I can't test the current config atm. If you would like to merge or continue from here it will be appreciated, however, if you don't. I'll not disappear forever. Thanks for understanding & have a great day. |
@mrichar1 Hello, I've came back from my deep coma, I'm testing in the repo because tests don't work locally and I'm lazy to debug |
00ca25b
to
86e174e
Compare
@mrichar1 Have a look when you have time, this is the command that ran
and for some reason it's not working, I'll wait for you and thanks anyway. |
I've just had a quick look at this - the tests are failing as the startup methods for On the command-line this would be:
This will need fixed here: https://github.com/LeOndaz/liveandletdie/blob/master/liveandletdie/__init__.py#L571-L577 To be something like:
Additionally, from looking at the You need to instead do:
that should get the tests passing, though you'll probably want to also test that the instance of |
followup at #16 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
No description provided.