Skip to content

Conversation

@sarkar-rajarshi
Copy link
Member

No description provided.

sarkar-rajarshi and others added 2 commits February 2, 2021 14:09
* ACS Chat: Changes for API version: 2020-11-01-preview3 (#15455)

Several changes required by `2020-11-01-preview3` of the API:

- Rename `Thread Members` to `Participants`
- Rename function `UpdateThread` to `UpdateTopic`
- Rename `ReadReceipt` to `ChatMessageReadReceipt` in model
- Return message id (string) instead of SendMessageResult (object) when calling `send_message`
- Add a convenience method `add_participant` for adding 1 participant
- Add failed participants check in response header in `create_thread` function

Misc:

- Add updated test record files

Co-authored-by: Leo Li <[email protected]>
Co-authored-by: Rajarshi Sarkar <[email protected]>

* Update ACS Chat Python SDK align with swagger changes (#15640)

- Seperate AzureCommunicationChatServiceOperationsMixin into ChatOperations and ChatThreadOperations
- Move invalid participants into errors object in reponse body

Co-authored-by: Leo Li <[email protected]>

* Communication chat - paginated results for participants and readreceipts (#15682)

* Failed participant check + single member add
* Add failed participant check in response header for create_thread method
* New convention method add_participant(thread_participant: ChatThreadParticipant) - sync and async

* Add empty line at the end of files

* Enable pagination for list participants

* Enable pagination for read receipts

* conflicts resolved after merge with upstream

* update README.md

* e2e test fix

* bkp commit

* updated e2e tests

* adding test recording

Co-authored-by: Leo Li <[email protected]>

* Updated swagger changes (#16390)

* Updated swagger changes
- Generate new models from swagger
- ChatMessage.content -> ChatMessageContent instead of 'str'
- Remove ChatMessagePriority
- Introduce ChatMessageType
- Add tests around ChatMessageType deserialization
- Generate a repeatability ID by default
- Add some test scenarios around repeatability ID
- Update all relevant tests
- Update sample code
- Record new test sessions

* Rebase with master
- Use CommunicationUserIdentifier

* pylint fixes

Co-authored-by: Jixing (Leo) Li <[email protected]>
Co-authored-by: Leo Li <[email protected]>
* apiview fixes
- Add missing type hints
- return ItemPaged or AsyncItemPaged instead of full classpath
@juancamilor juancamilor merged commit 70d098b into master Feb 5, 2021
@juancamilor juancamilor deleted the feature/communication-chat-preview3-new-model branch February 5, 2021 19:19
iscai-msft added a commit to iscai-msft/azure-sdk-for-python that referenced this pull request Feb 5, 2021
…into new_polling

* 'master' of https://github.com/Azure/azure-sdk-for-python: (250 commits)
  Converting to pure unit tests (Azure#16499)
  Fix replace keys for nested json (Azure#16557)
  update release date (Azure#16543)
  Feature/communication chat preview3 new model (Azure#16561)
  [text analytics] Exposed the length property in classes impacted by `string_index_type` (Azure#16538)
  [textanalytics] add :keyword: to docstrings for TextDocumentInput and DetectLanguageInput (Azure#16542)
  [SB] combine conn str parser logic in base handler and _common (Azure#16464)
  [text analytics] add analyze readme bullet point (Azure#16552)
  resolve issues with failing search documents on mindependency checks (Azure#16553)
  [text analytics] analyze changes (Azure#16418)
  [Core] Added enum meta class (Azure#16316)
  Adding missing supported fields to invoice sample (Azure#16547)
  Update EventHub ci.yml to skip unsupported pypy3 (Azure#16545)
  patching the publishing of artifacts only on successful run (Azure#16539)
  need to bump msrest up one (Azure#16544)
  [EventHub&ServiceBUs] Update readme pointing to uamqp installation guidance (added alpine installation) (Azure#16515)
  add dotenv as a dep for azure-sdk-tools (Azure#16532)
  skip prebuilt from_url tests for now (Azure#16534)
  Latest/Minimum filter retrieved packages by pyVersion compatibility (Azure#16510)
  CertificateCredential accepts certs as bytes (Azure#16410)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants