From eedeb0e96a8d2e82a6ca81f639c7bd5bf51a2020 Mon Sep 17 00:00:00 2001 From: Krishna Kumar Date: Fri, 19 Jan 2024 20:27:53 -0600 Subject: [PATCH] Fix linking and build --- .github/workflows/build-test.yml | 2 +- dapi/__init__.py | 2 +- dapi/jobs/jobs.py | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 18774d8..a7b784a 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -6,7 +6,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.8", "3.9", "3.10", "3.11"] + python-version: ["3.9", "3.10", "3.11"] poetry-version: ["1.6.1"] os: [ubuntu-latest] runs-on: ${{ matrix.os }} diff --git a/dapi/__init__.py b/dapi/__init__.py index 9b3449c..cd4afbd 100644 --- a/dapi/__init__.py +++ b/dapi/__init__.py @@ -15,4 +15,4 @@ ``` """ -from . import jobs \ No newline at end of file +from . import jobs diff --git a/dapi/jobs/jobs.py b/dapi/jobs/jobs.py index bd78835..62f5c7a 100644 --- a/dapi/jobs/jobs.py +++ b/dapi/jobs/jobs.py @@ -8,6 +8,7 @@ # level=logging.INFO, format="%(asctime)s - %(levelname)s - %(message)s" # ) + def get_status(ag, job_id, time_lapse=15): """ Retrieves and monitors the status of a job from Agave.