Skip to content

Commit

Permalink
remove dotenv
Browse files Browse the repository at this point in the history
  • Loading branch information
codekansas committed Aug 5, 2024
1 parent cffe808 commit f0c4f63
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
7 changes: 0 additions & 7 deletions store/app/main.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
"""Defines the main entrypoint for the FastAPI app."""

import logging
import os
from contextlib import asynccontextmanager
from typing import AsyncGenerator

Expand All @@ -23,12 +22,6 @@
]


if os.getenv("ROBOLIST_ENVIRONMENT") == "local":
from dotenv import load_dotenv

load_dotenv(".env")


@asynccontextmanager
async def lifespan(app: FastAPI) -> AsyncGenerator[None, None]:
"""Initializes the app and creates the database tables."""
Expand Down
1 change: 0 additions & 1 deletion store/settings/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
from pathlib import Path
from typing import Any, Callable, Generic, TypeVar, cast

from dotenv import load_dotenv
from omegaconf import OmegaConf

from store.settings.environment import EnvironmentSettings
Expand Down

0 comments on commit f0c4f63

Please sign in to comment.