Skip to content

Commit 3cd98f8

Browse files
authored
Merge branch 'development' into dependabot/pip/aiohttp-3.14.1
2 parents 208dd22 + 7040416 commit 3cd98f8

5 files changed

Lines changed: 8 additions & 7 deletions

File tree

.github/workflows/deploy-development.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
gitlab-project-id: "3174"
2525

2626
name: Deploy to ${{ matrix.environment-name }}
27-
uses: epam/ai-dial-ci/.github/workflows/deploy-development.yml@4.4.1
27+
uses: epam/ai-dial-ci/.github/workflows/deploy-development.yml@4.6.0
2828
with:
2929
gitlab-project-id: ${{ matrix.gitlab-project-id }}
3030
environment-name: ${{ matrix.environment-name }}

.github/workflows/pr-title-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ concurrency:
1515

1616
jobs:
1717
pr-title-check:
18-
uses: epam/ai-dial-ci/.github/workflows/pr-title-check.yml@4.4.1
18+
uses: epam/ai-dial-ci/.github/workflows/pr-title-check.yml@4.6.0
1919
secrets:
2020
ACTIONS_BOT_TOKEN: ${{ secrets.ACTIONS_BOT_TOKEN }}

.github/workflows/pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ concurrency:
1010

1111
jobs:
1212
run_tests:
13-
uses: epam/ai-dial-ci/.github/workflows/python_docker_pr.yml@4.4.1
13+
uses: epam/ai-dial-ci/.github/workflows/python_docker_pr.yml@4.6.0
1414
secrets: inherit
1515
with:
1616
poetry-version: "2.1.1"

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ concurrency:
1616

1717
jobs:
1818
release:
19-
uses: epam/ai-dial-ci/.github/workflows/python_docker_release.yml@4.4.1
19+
uses: epam/ai-dial-ci/.github/workflows/python_docker_release.yml@4.6.0
2020
with:
2121
promote: ${{ github.event_name == 'workflow_dispatch' && inputs.promote }}
2222
poetry-version: "2.1.1"

aidial_analytics_realtime/influx_writer.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,10 @@ def create_influx_writer() -> tuple[InfluxDBClientAsync, InfluxWriterAsync]:
1515
influx_url = get_env("INFLUX_URL")
1616
influx_api_token = get_env("INFLUX_API_TOKEN")
1717

18-
if (bucket := os.getenv("INFLUX_BUCKET")) and (
19-
database := os.getenv("INFLUX_DATABASE")
20-
):
18+
bucket = os.getenv("INFLUX_BUCKET")
19+
database = os.getenv("INFLUX_DATABASE")
20+
21+
if bucket and database:
2122
raise ValueError(
2223
"Both INFLUX_BUCKET and INFLUX_DATABASE env variables are set. "
2324
"Only one of them should be set."

0 commit comments

Comments
 (0)