Skip to content

Commit

Permalink
Rq upgrade (#6902)
Browse files Browse the repository at this point in the history
* fix(aws-es): fixed es auth

* fixed lock

* rq v1.16
  • Loading branch information
AndrewChubatiuk committed Apr 17, 2024
1 parent 991e94d commit 7e8a61c
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 24 deletions.
39 changes: 17 additions & 22 deletions poetry.lock

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

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ redis = "4.6.0"
regex = "2023.8.8"
requests = "2.31.0"
restrictedpython = "6.2"
rq = "1.9.0"
rq-scheduler = "0.11.0"
rq = "1.16.1"
rq-scheduler = "0.13.1"
semver = "2.8.1"
sentry-sdk = "1.28.1"
sqlalchemy = "1.3.24"
Expand Down
3 changes: 3 additions & 0 deletions redash/query_runner/amazon_elasticsearch.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,8 @@ def __init__(self, configuration):

self.auth = AWSV4Sign(cred, region, "es")

def get_auth(self):
return self.auth


register(AmazonElasticsearchService)
3 changes: 3 additions & 0 deletions redash/serializers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,9 @@ def serialize_job(job):
JobStatus.STARTED: 2,
JobStatus.FINISHED: 3,
JobStatus.FAILED: 4,
JobStatus.CANCELED: 5,
JobStatus.DEFERRED: 6,
JobStatus.SCHEDULED: 7,
}

job_status = job.get_status()
Expand Down

0 comments on commit 7e8a61c

Please sign in to comment.