Skip to content

Commit

Permalink
[QT-1] add: previous_disposition to skit-calls (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
greed2411 authored Jan 23, 2024
1 parent 25881ff commit e992d7c
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.53
- add: new columns for randomly sampled calls - previous_disposition

0.2.52
- add: logs and fix function definition

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.52"
version = "0.2.53"
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: 2a702b2c3a91368922ea506f151c4cc9.dir
size: 5616
- md5: 8a76aff28e9d32e78feeaa84de73d576.dir
size: 5799
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 @@ -209,6 +209,7 @@ class Turn:
asr_provider: MaybeString = attr.ib(kw_only=True, default=None, repr=False)
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)
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 @@ -250,6 +251,7 @@ def from_record(cls, record: namedtuple, domain_url: str, use_fsm_url: bool = Fa
call_url=call_url,
call_type=record.call_type,
disposition=record.disposition,
previous_disposition=record.previous_disposition,
reftime=reftime,
readable_reftime=readable_reftime,
state=record.state,
Expand Down

0 comments on commit e992d7c

Please sign in to comment.