Skip to content

Conversation

@ajrice6713
Copy link
Contributor

@ajrice6713 ajrice6713 commented Sep 28, 2022

Adds the following BXML Verbs

  • <Transfer>
  • <SipUri>
  • <PhoneNumber>

Fixes WebRTC Utilities Module and Tests

@ajrice6713 ajrice6713 requested a review from a team September 28, 2022 17:29
@ajrice6713 ajrice6713 marked this pull request as draft September 28, 2022 17:29
@ajrice6713 ajrice6713 marked this pull request as ready for review September 28, 2022 18:14
@ajrice6713 ajrice6713 marked this pull request as draft September 28, 2022 19:03
@ajrice6713 ajrice6713 marked this pull request as ready for review September 28, 2022 20:01
@ajrice6713 ajrice6713 merged commit a3239bb into DX-2870 Sep 28, 2022
@ajrice6713 ajrice6713 deleted the DX-2901 branch September 28, 2022 20:32
ajrice6713 added a commit that referenced this pull request Sep 29, 2022
* DX-2870 Create Base BXML Classes

Created base class for root (`<Bxml>` and `<Response>`)

Created base class for verbs

Wrote `<Tag>` verb to do some basic testing

* Add docstrings

* Refactor

`BxmlRoot` -> `Root`
`BxmlVerb` -> `Verb`

* Refactor tests for bxml base classes

* Add `test_tag.py` to test `<Tag>`

Also fixed some bugs in the base models causing test failures

* Clean up tests to follow proper pytest convention

Removed `lxml` from requirements
Added base class tests

* Add another test to add verbs during init of root

* DX-2901, DX-2908, DX-2918 (#114)

* DX-2901 `<PhoneNumber>` BXML

Had to fix some bugs with the attributes in the `Verb` class

Reordered arguments in the `Tag` class to match `Verb`

* DX-2908 Refactor `<SipUri> BXML

* DX-2918 Refactor `<Transfer>` BXML

* Cleanup and update descriptions in docstrings

* Fix WebRTC Utilities Test

* import List type for Python < 3.9

https://stackoverflow.com/a/63460173/11633328

* Fix other `List` instances

* Missed one `List`

* Add `Union` to support multiple types in List

* Construct verbs in alphabetical order to satisfy python@3.7 tests

* Alphabetize attributes dict for python3.7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants