From a9bcef4d7ebdf123a82c9108c98130a0327e7dd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20tom=20W=C3=B6rden?= <h.tomwoerden@indiscale.com> Date: Wed, 17 Apr 2024 13:06:32 +0200 Subject: [PATCH] fix --- .gitlab-ci.yml | 10 ++-------- src/caoscrawler/semantic_target.py | 2 +- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 87929132..8478e364 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -120,10 +120,10 @@ unittest_py3.9: script: - tox -unittest_py3.7: +unittest_py3.8: tags: [cached-dind] stage: test - image: python:3.7 + image: python:3.8 script: &python_test_script # install dependencies - pip install pytest pytest-cov @@ -135,12 +135,6 @@ unittest_py3.7: - caosdb-crawler --help - pytest --cov=caosdb -vv ./unittests -unittest_py3.8: - tags: [cached-dind] - stage: test - image: python:3.8 - script: *python_test_script - unittest_py3.10: tags: [cached-dind] stage: test diff --git a/src/caoscrawler/semantic_target.py b/src/caoscrawler/semantic_target.py index 89e65c20..818e686a 100644 --- a/src/caoscrawler/semantic_target.py +++ b/src/caoscrawler/semantic_target.py @@ -98,7 +98,7 @@ class SemanticTarget(): - set_missing: declares that a SemanticEntity is NOT existing on the remote server """ - def __init__(self, entities: list[db.Entity], identifiableAdapter): + def __init__(self, entities: List[db.Entity], identifiableAdapter): self.identifiableAdapter = identifiableAdapter self._id_look_up: dict[int, SemanticEntity] = {} self._path_look_up: dict[str, SemanticEntity] = {} -- GitLab