Skip to content

Commit

Permalink
[QT-131] adding blocking_disposition to the sampled turns query (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
greed2411 authored Mar 4, 2024
1 parent 4ea58b2 commit e0f5ac1
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 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.55
- add: new columns for randomly sampled calls - blocking_disposition

0.2.54
- change: set right value for DB_HOST

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.54"
version = "0.2.55"
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: 3c3a8017b3d6d830b87506a9797ba99a.dir
size: 5799
- md5: 5b4e1a0d10e81d247a4eca808cc32976.dir
size: 5954
nfiles: 5
path: secrets
2 changes: 2 additions & 0 deletions skit_calls/data/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ class Turn:
call_end_status: MaybeString = attr.ib(kw_only=True, default=None, repr=False)
disposition: MaybeString = attr.ib(kw_only=True, default=None, repr=False)
previous_disposition: MaybeString = attr.ib(kw_only=True, default=None, repr=False)
blocking_disposition: MaybeString = attr.ib(kw_only=True, default=None, repr=False)
virtual_number: MaybeString = attr.ib(kw_only=True, default=None, repr=False)
flow_version: MaybeString = attr.ib(kw_only=True, default=None, repr=False)
flow_id: MaybeString = attr.ib(kw_only=True, default=None, repr=False)
Expand Down Expand Up @@ -252,6 +253,7 @@ def from_record(cls, record: namedtuple, domain_url: str, use_fsm_url: bool = Fa
call_type=record.call_type,
disposition=record.disposition,
previous_disposition=record.previous_disposition,
blocking_disposition=record.blocking_disposition,
reftime=reftime,
readable_reftime=readable_reftime,
state=record.state,
Expand Down

0 comments on commit e0f5ac1

Please sign in to comment.