Using pydantic settings to read environment variables — Introduction: Environment variables are commonly used to store your client_ids, host names, database names, port numbers, secrets and what not in the form of key-value pairs. These are usually the values that you don't want to store in your code for two reasons. While working in real-time projects you often work…