Skip to content

Commit

Permalink
chore: convert optional typing minor
Browse files Browse the repository at this point in the history
  • Loading branch information
robcxyz committed Nov 30, 2024
1 parent 114c3f2 commit c51ef00
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion icon_governance/config.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from __future__ import annotations

import os
from typing import Optional

from pydantic_settings import BaseSettings, SettingsConfigDict

Expand Down Expand Up @@ -54,7 +55,7 @@ class Settings(BaseSettings):
CONSUMER_TOPIC_BLOCKS: str = "blocks"
# Backfilling
CONSUMER_AUTO_OFFSET_RESET: str = "earliest"
JOB_ID: str | None = None
JOB_ID: Optional[str] = None

# DB
POSTGRES_USER: str = "postgres"
Expand Down

0 comments on commit c51ef00

Please sign in to comment.