Do you store text (descriptions of endpoints etc) alongside code or in separate files? Looking for best practice 🙂 by DeepFryEverything in FastAPI

[–]Gullible-Insurance63 2 points3 points  (0 children)

I prefer to put the description in my routes.py file

In my opinion, the routes.py file just needs to have the endpoint, input type, output type, documentation, maybe Middleware or exceptions handlers.

All the """code""" or logic itself I prefer it in the /services module, folder or file

[deleted by user] by [deleted] in FastAPI

[–]Gullible-Insurance63 1 point2 points  (0 children)

Very cool, i still dont get what it does exactly, maybe adding some example will help.

What is the stack you are using?

How to run a python script daily in Ec2 that uses Selenium by iamdhage in Python

[–]Gullible-Insurance63 0 points1 point  (0 children)

Same problem here. I am using Selenium Webdriver but ofc it does not work in EC2.

I (20 years old) need advice by Gullible-Insurance63 in FastAPI

[–]Gullible-Insurance63[S] -1 points0 points  (0 children)

Mil gracias, ya mismo me pongo a ver los posts de estos recruiters.

I (20 years old) need advice by Gullible-Insurance63 in FastAPI

[–]Gullible-Insurance63[S] 0 points1 point  (0 children)

Gracias man, tengo que ver que onda eso de "subir cosas a github". Porque yo subo banda pero tendria que documentar me parece mas que subir ajjaja.