Multi-tenant applications have a way of turning simple endpoints into surprisingly complicated pieces of code. At first, tenant-specific validation seems harmless. You have two tenants with different limits, so you write something like: if tenant == " acme " : max_quantity = 100 elif tenant == ...
Source: [Dev.to](https://dev.to/sansk_ya/why-i-dont-put-tenant-specific-validation-in-my-fastapi-endpoints-5e4l)