diff --git a/CHANGELOG.md b/CHANGELOG.md index 638da24..fd27838 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/pyproject.toml b/pyproject.toml index c2af737..b22b179 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 "] license = "GPL-3.0-only" diff --git a/secrets.dvc b/secrets.dvc index 45d2248..c4dbb75 100644 --- a/secrets.dvc +++ b/secrets.dvc @@ -1,5 +1,5 @@ outs: -- md5: 2a702b2c3a91368922ea506f151c4cc9.dir - size: 5616 +- md5: 8a76aff28e9d32e78feeaa84de73d576.dir + size: 5799 nfiles: 5 path: secrets diff --git a/skit_calls/data/model.py b/skit_calls/data/model.py index d718073..18cbb18 100644 --- a/skit_calls/data/model.py +++ b/skit_calls/data/model.py @@ -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) @@ -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,