Database migrations matter! Get up and running with Alembic + sqlmodel

Sdílet
Vložit
  • čas přidán 8. 09. 2024

Komentáře • 16

  • @JasonRahm
    @JasonRahm Před rokem +5

    good stuff! Was looking at this specific combo late last week.

    • @Pybites
      @Pybites  Před rokem

      cool, glad we did this video then :) - any other ones we can produce?

  • @user-ux2hn2in7j
    @user-ux2hn2in7j Před rokem +6

    Great video, thanks! Beside the basic FastAPI / SQLModel setup (which, to be fair, are already greatly covered in the FastAPI docs) there is very little deeper content. For example: what's a good (file)structure for a big FastAPI app including SQLModel and Alembic. Or: how to deal with bigger models and especially m:n relations, there the FastAPI docs are thinning out. Maybe these are ideas for you.

    • @Pybites
      @Pybites  Před rokem +1

      Indeed, those are 2 good topics. I will add them to the list. Thanks, Bob

  • @tidytrading9693
    @tidytrading9693 Před rokem +1

    really thanks for this video! it has been essential for me, very clear and pragmatic!

    • @Pybites
      @Pybites  Před rokem

      Happy to hear that! Thanks, Bob

    • @Pybites
      @Pybites  Před rokem

      And other videos that would be helpful?

    • @tidytrading9693
      @tidytrading9693 Před rokem +1

      @@Pybites for me it would be on using sqlmodel with pandas for managing timeseries data.
      Thanks again

    • @Pybites
      @Pybites  Před rokem

      @@tidytrading9693 these are different tools / requests? So one is using pandas for timeseries (could be one video, but anything more specific), then sqlmodel comes in how to effectively store the data in a DB? Please clarify. Thanks.

  • @juvewan
    @juvewan Před 10 měsíci

    great vid, thanks for explaining both libraries so clearly.

    • @Pybites
      @Pybites  Před 10 měsíci

      Nice, thanks for your kind feedback

    • @Pybites
      @Pybites  Před 10 měsíci

      Are you using Alembic in your work?

  • @lovelytyagi1041
    @lovelytyagi1041 Před rokem +1

    Great video Man♥️

  • @wa.6006
    @wa.6006 Před 3 měsíci

    Just to make sure i get the "DRY" thing, following this... I conclude that the best practice will be to import my "SQLModel" from my "app" throughout all my files app that require it?

    • @Pybites
      @Pybites  Před 3 měsíci

      would have to look back at the video, do you have a code repo you can share to advice?