Skip to content

Commit ddc063b

Browse files
committed
fixed issue in importer
1 parent 40d3f4e commit ddc063b

File tree

3 files changed

+6
-10
lines changed

3 files changed

+6
-10
lines changed

.github/workflows/backend_checks.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,6 @@ jobs:
7777
run: |
7878
source .env
7979
docker compose run --user $(id -u):$(id -g) dats-backend-api /dats_code/.venv/bin/alembic check
80-
- name: Start Remaining Docker Containers
81-
working-directory: docker
82-
run: |
83-
source .env
84-
COMPOSE_PROFILES="weaviate,background,backend" docker compose up --wait --quiet-pull
8580
- name: Check 4 - install uv environment
8681
working-directory: backend
8782
run: |
@@ -90,6 +85,11 @@ jobs:
9085
working-directory: backend
9186
run: |
9287
uv run pyright
88+
- name: Start Remaining Docker Containers
89+
working-directory: docker
90+
run: |
91+
source .env
92+
COMPOSE_PROFILES="weaviate,background,backend" docker compose up --wait --quiet-pull
9393
- name: Check 6 - Test End-2-End importer script
9494
working-directory: backend
9595
env:

tools/importer/dats_api.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,8 @@ def login(self):
3030
"Content-Type": "application/x-www-form-urlencoded",
3131
}
3232
data = {
33-
"grant_type": "",
3433
"username": self.username,
3534
"password": self.password,
36-
"scope": "",
37-
"client_id": "",
38-
"client_secret": "",
3935
}
4036
r = requests.post(
4137
f"{self.BASE_PATH}authentication/login", headers=headers, data=data

tools/importer/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
python-magic==0.4.27
22
requests==2.32.3
3-
tqdm==4.66.1
3+
tqdm==4.66.3
44
loguru==0.6

0 commit comments

Comments
 (0)