Skip to content

Commit

Permalink
Fixed imports in docker services
Browse files Browse the repository at this point in the history
  • Loading branch information
djspstfc committed Jul 18, 2024
1 parent 15aa857 commit 1b91d6f
Show file tree
Hide file tree
Showing 7 changed files with 134 additions and 5 deletions.
2 changes: 1 addition & 1 deletion esgf-api-ingest/esgf_api_ingest/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import aiokafka
from esgf_playground_utils.config.kafka import Settings
from esgf_playground_utlis.models.kafka import (
from esgf_playground_utils.models.kafka import (
Auth,
CreatePayload,
Data,
Expand Down
65 changes: 64 additions & 1 deletion esgf-api-ingest/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions esgf-api-ingest/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ python = "^3.12"
fastapi = "^0.111.1"
uvicorn = "^0.30.1"
esgf-playground-utils = "0.1.0"
aiokafka = "^0.11.0"

[tool.poetry.group.black.dependencies]
black = "^24.4.2"
Expand Down
2 changes: 1 addition & 1 deletion esgf-consumer/esgf_consumer/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
import httpx
from aiokafka.errors import KafkaError
from esgf_playground_utils.models.kafka import Error, ErrorType, KafkaEvent
from esgf_playground_utils.config.kafka import Settings
from pydantic import ValidationError

from esgf_consumer.collection import ensure_collection
from esgf_consumer.config import Settings
from esgf_consumer.consumers import get_consumer
from esgf_consumer.items import create_item
from esgf_consumer.producers import get_producer
Expand Down
3 changes: 2 additions & 1 deletion esgf-consumer/esgf_consumer/items.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
import httpx
from stac_pydantic.item import Item

from esgf_consumer.config import Settings
from esgf_playground_utils.config.kafka import Settings


logger = logging.getLogger(__name__)

Expand Down
65 changes: 64 additions & 1 deletion esgf-consumer/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions esgf-consumer/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ python = "^3.12"
httpx = "^0.27.0"
click = "^8.1.7"
esgf-playground-utils = "0.1.0"
aiokafka = "^0.11.0"

[tool.poetry.group.black.dependencies]
black = "^24.4.2"
Expand Down

0 comments on commit 1b91d6f

Please sign in to comment.