Skip to content

Commit

Permalink
lints
Browse files Browse the repository at this point in the history
  • Loading branch information
chennisden committed Jun 3, 2024
1 parent a08c4a5 commit 606e683
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions store/app/api/crud/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
from botocore.exceptions import ClientError
from redis import Redis
from types_aiobotocore_dynamodb.service_resource import DynamoDBServiceResource

from store.settings import settings

from store.settings import settings
Expand Down
1 change: 0 additions & 1 deletion store/app/api/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ def from_uuid(cls, user_id: uuid.UUID, email: str) -> "User":
def to_uuid(self) -> uuid.UUID:
return uuid.UUID(self.user_id)


class ApiKey(BaseModel):
"""Stored in Redis rather than DynamoDB."""

Expand Down
2 changes: 2 additions & 0 deletions store/settings/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,15 @@

from omegaconf import II, MISSING


@dataclass
class RedisSettings:
host: str = field(default=MISSING)
password: str = field(default=MISSING)
port: int = field(default=6379)
db: int = field(default=0)


@dataclass
class RedisSettings:
host: str = field(default=MISSING)
Expand Down

0 comments on commit 606e683

Please sign in to comment.