Skip to content

Commit

Permalink
Fix issue when the client id is absent (#27)
Browse files Browse the repository at this point in the history
* Fix issue when the client id is absent

* Update version in pyproject.yaml
  • Loading branch information
d-shree committed Dec 22, 2023
1 parent 29c1fd9 commit e199d51
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 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.50
- fix: error when client_id absent

0.2.49
- add: Multiple flow id support for fetch calls
- update: Credentials to access FSM db
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.49"
version = "0.2.50"
description = "Library to fetch calls from a given environment."
authors = ["ltbringer <amresh.venugopal@gmail.com>"]
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: 4a03ddfb64863843358d879baa872af6.dir
size: 5552
- md5: a54ebfb809755748297b44f75fd426a7.dir
size: 5556
nfiles: 5
path: secrets
8 changes: 4 additions & 4 deletions skit_calls/data/query.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ def gen_random_call_ids(
random_id_limit: int = const.DEFAULT_CALL_QUANTITY,
):
excluded_numbers = set(excluded_numbers) or set()
ids_ = set(ids_) or set()
if not ids_ or template_id :

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

0 comments on commit e199d51

Please sign in to comment.