Polar now supports callouts in posts, with the same syntax as GitHub:
Here is how they are displayed:
When programming, you probably often have, like me, those Aha! moments: when things that were not really clear or obvious in your mind suddenly start to make sense. This week, I had one of these... Even if it turned out to also be a Doh! moment 😰
This time, it was brought to me by SQLAlchemy. This Python library is the de-facto standard for working with SQL databases. It's super powerful... But also hard to tame.
Four years ago, I've made the first commit to FastAPI Users. At that time, all I wanted was a simple solution to manage users authentication in a FastAPI project. I didn't really have any specific experience in this field, other than what I knew from what other web frameworks like Django did.
If, like me, you're a huge fan of what Pydantic and FastAPI folks are doing, you can't have missed the new Annotated
construct, which was introduced in Python 3.9. In a few months, we've seen lot of code examples changed from this:
```python from uuid import uuid4
from pydantic import BaseModel, Field
If you've followed the Python evolutions for the last few years, you probably know that type hints are a thing. Since its introduction in Python 3.5, the typing
module has quickly grow and lot of Python codebases nowadays are using type hints.
If you're not using them already, I can guarantee that you will by the end of this post 😉