FastAPI Tutorial

Поделиться
HTML-код
  • Опубликовано: 15 сен 2024

Комментарии • 14

  • @suen-tech
    @suen-tech Год назад +1

    Thank you

  • @bbma951
    @bbma951 2 года назад +1

    I'm really pleasantly surprised by the pace at which you're explaining things. I think the pace is just perfect not too slow, nor not too fast.

    • @microapis
      @microapis  2 года назад

      Really glad to hear that
      Akbermet! Thank you for your kind feedback!

  • @stevecanny1583
    @stevecanny1583 2 года назад +1

    Super helpful José! Thanks very much!

    • @microapis
      @microapis  2 года назад

      Thank you for the nice feedback Steve!

  • @nournote
    @nournote 2 года назад +1

    Quite interesting. Keep them coming.

  • @microapis
    @microapis  2 года назад +1

    Make sure you like the video and subscribe if you liked the content! It helps me continue producing content like this. Also, feel free to leave your suggestions about what other topics you'd like me to cover in future tutorials!

  • @rushen8148
    @rushen8148 2 года назад +1

    Hello, nice tutorial! I have a question. Why you writing enum candidates, with lowercase when python docs recommends uppercase?

    • @microapis
      @microapis  2 года назад

      Thanks for your question! The Python docs recommend using uppercase because enumerations represent static values, and by convention generally we represent static values with all uppercase letters. In their opinion, it also helps to remind people that they need to call the .value attribute to get the actual value.
      The reason why I chose lowercases in this project is because the lowercase represents the actual shape of the value and so I think it makes it easier to relate it to the values in the OpenAPI spec. I also find all uppercases distracting, but that's just personal preference.
      When in doubt, though, follow the docs and/or stick to the conventions in the project you're working on.

  • @user-cw7xd6de2l
    @user-cw7xd6de2l 2 года назад +1

    wow thanks for the good video
    ! If you have a chance, I would appreciate it if you could make a video for fastapi deployment (using docker or etc)

    • @microapis
      @microapis  2 года назад +1

      Thanks for the nice feedback! I'll be definitely working on deployments in the coming videos, including Docker, Kubernetes, AWS, and simple options like Heroku as well!

  • @avishetty8
    @avishetty8 Год назад +1

    One question.... why did you declare TODO as a list? why not a dict? if you have 500000 tasks and using a for loop to find a specific id... :(

    • @microapis
      @microapis  10 месяцев назад +1

      Thank you for your question! In a real-world app we'd use a database, so this was just a choice to keep it super simple. You could just as well index by ID in a dictionary, it'd make access a lot faster 🚀!