-
Notifications
You must be signed in to change notification settings - Fork 186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added Slack Docs! #643
Added Slack Docs! #643
Conversation
✅ Deploy Preview for dlt-hub-docs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
| --------------------- | -------------------------------------------------------------------------- | | ||
| slack_source | Retrives resources conversations, conversations_history and access_logs | | ||
| channels_resource | Retrives all the channels | | ||
| get_messages_resource | Retrives all the messages for a given channel | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For getting the messages we use the selected channel name.
| channels_resource | Retrives all the channels | | ||
| get_messages_resource | Retrives all the messages for a given channel | | ||
| access_logs | Retrives the access logs | | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The users resource is in review and should be merged soon, I think you can add it too.
| groups:read | View basic information about private channels (where the app is added) | | ||
| im:read | View basic information about direct messages (where the app is added) | | ||
| mpim:read | View basic information about group direct messages (where the app is added) | | ||
> Note: These scopes are adjustable; tailor them to your needs. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you add the users resource, add users:read
permission too.
@dlt.resource(name="channels", primary_key="id", write_disposition="replace") | ||
def channels_resource() -> Iterable[TDataItem]: | ||
|
||
yield from channel |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that if you are adding this you should add the lines above it, as the channel
variable is defined above, but I am not sure about it.
Description
Added Slack Docs!
Related Issues
Additional Context