Skip to content

Commit

Permalink
Fix for older python
Browse files Browse the repository at this point in the history
  • Loading branch information
Willy-JL committed Aug 25, 2024
1 parent 4922383 commit 28d7abf
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions indexer/src/settings.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import os
from pydantic import BaseModel
from typing import List
from typing import List, Union
import pathlib


Expand All @@ -11,13 +11,13 @@ class Settings(BaseModel):
base_url: str
token: str
github_org: str
gelf_host: str | None
gelf_port: str | None
kubernetes_namespace: str | None
kubernetes_app: str | None
kubernetes_container: str | None
kubernetes_pod: str | None
firmware_github_token: str | None
gelf_host: Union[str, None]
gelf_port: Union[str, None]
kubernetes_namespace: Union[str, None]
kubernetes_app: Union[str, None]
kubernetes_container: Union[str, None]
kubernetes_pod: Union[str, None]
firmware_github_token: Union[str, None]
firmware_github_repo: str
private_paths: List[str]

Expand Down

0 comments on commit 28d7abf

Please sign in to comment.