Skip to content

Commit

Permalink
Fix query issue (#28)
Browse files Browse the repository at this point in the history
* Update the query

* Update version
  • Loading branch information
d-shree authored Dec 23, 2023
1 parent e199d51 commit d88674b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# CHANGELOG
0.2.51
- fix: error with query for fetch calls

0.2.50
- fix: error when client_id absent

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "skit-calls"
version = "0.2.50"
version = "0.2.51"
description = "Library to fetch calls from a given environment."
authors = ["ltbringer <[email protected]>"]
license = "GPL-3.0-only"
Expand Down
4 changes: 2 additions & 2 deletions secrets.dvc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
outs:
- md5: a54ebfb809755748297b44f75fd426a7.dir
size: 5556
- md5: 2a702b2c3a91368922ea506f151c4cc9.dir
size: 5616
nfiles: 5
path: secrets
4 changes: 1 addition & 3 deletions skit_calls/data/query.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,7 @@ def gen_random_call_ids(
):
excluded_numbers = set(excluded_numbers) or set()

if ids_:
ids_= tuple(set(ids_))
else:
if not ids_:
ids_ = None
excluded_numbers = excluded_numbers.union(const.DEFAULT_IGNORE_CALLERS_LIST)
reported_status = 0 if reported else None
Expand Down

0 comments on commit d88674b

Please sign in to comment.