Skip to content

Add missing properties in Audit Logs details data class#1113

Merged
seratch merged 1 commit intoslackapi:mainfrom
seratch:missing-audit-log-details
Sep 10, 2021
Merged

Add missing properties in Audit Logs details data class#1113
seratch merged 1 commit intoslackapi:mainfrom
seratch:missing-audit-log-details

Conversation

@seratch
Copy link
Copy Markdown
Contributor

@seratch seratch commented Sep 10, 2021

Summary

This pull request adds message retention policy related fields to the entity[].details data. Also, improved the Details class constructor to accept both class data and dict value.

Category (place an x in each of the [ ])

  • slack_sdk.web.WebClient (sync/async) (Web API client)
  • slack_sdk.webhook.WebhookClient (sync/async) (Incoming Webhook, response_url sender)
  • slack_sdk.socket_mode (Socket Mode client)
  • slack_sdk.signature (Request Signature Verifier)
  • slack_sdk.oauth (OAuth Flow Utilities)
  • slack_sdk.models (UI component builders)
  • slack_sdk.scim (SCIM API client)
  • slack_sdk.audit_logs (Audit Logs API client)
  • slack_sdk.rtm_v2 (RTM client)
  • /docs-src (Documents, have you run ./scripts/docs.sh?)
  • /docs-src-v2 (Documents, have you run ./scripts/docs-v2.sh?)
  • /tutorial (PythOnBoardingBot tutorial)
  • tests/integration_tests (Automated tests for this library)

Requirements (place an x in each [ ])

  • I've read and understood the Contributing Guidelines and have done my best effort to follow them.
  • I've read and agree to the Code of Conduct.
  • I've run python3 -m venv .venv && source .venv/bin/activate && ./scripts/run_validation.sh after making the changes.

@seratch seratch added enhancement M-T: A feature request for new functionality Version: 3x audit-logs-client labels Sep 10, 2021
@seratch seratch added this to the 3.11.0 milestone Sep 10, 2021
@seratch seratch self-assigned this Sep 10, 2021
@codecov
Copy link
Copy Markdown

codecov bot commented Sep 10, 2021

Codecov Report

Merging #1113 (0a9e3c2) into main (a3d6006) will increase coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1113      +/-   ##
==========================================
+ Coverage   85.36%   85.37%   +0.01%     
==========================================
  Files         110      110              
  Lines       10506    10517      +11     
==========================================
+ Hits         8968     8979      +11     
  Misses       1538     1538              
Impacted Files Coverage Δ
slack_sdk/audit_logs/v1/logs.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a3d6006...0a9e3c2. Read the comment docs.

@seratch seratch requested review from filmaj and srajiang and removed request for filmaj and srajiang September 10, 2021 05:52
@seratch seratch merged commit 961706e into slackapi:main Sep 10, 2021
@seratch seratch deleted the missing-audit-log-details branch September 10, 2021 06:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

audit-logs-client enhancement M-T: A feature request for new functionality Version: 3x

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant