Comments (4)
Sorry about that! It appears I always return a string, and was incorrect in the docs. I'll update the docs.
from python-slack-sdk.
I've provided PRs #70 and #71 to fix this issue. #70 fixes the api_call func to do a json.loads() before returning- I prefer this solution to #71's since it's more consistent with rtm_read()'s returning of dicts. #71 only fixes the docs to show api calls being passed through json.loads(). Take your pick which you merge.
from python-slack-sdk.
#70 was obsoleted by #74 which also fixes #73 in addition to this issue.
from python-slack-sdk.
The examples in the docstring for api_call still say that it returns a string rather than a dict. Minor thing, but thought I'd say in case someone else stumbles on this ahaha
from python-slack-sdk.
Related Issues (20)
- Slackbot configuration HOT 9
- Link unfurling for Video links from my app's domain HOT 2
- SQLAlchemyInstallationStore: Non-English column data support for MySQL use cases
- AuditLogsClient not honoring oldest/latest timestamps HOT 2
- On the slack app for android phones views.publish method fails to set initial_option on a static select control HOT 3
- Search.messages API does not return messages from bots/automations HOT 4
- Security concerns regarding video rendering on link unfurl HOT 7
- SlackApiError: 'dict' object has no attribute 'status_code' HOT 3
- How do I get the actual response when an error raised? HOT 1
- Add file input block element support
- Unable to send image with `files_upload_v2()` to single user HOT 3
- Add apps.manifest.* & tooling.tokens.rotate API support
- Add rich_text classes to slack_sdk.models module HOT 2
- files_upload() initial_comment isn't formatted (regression) when posting a Slack post HOT 5
- Download file using WebClient HOT 1
- Add MongoDB installation store HOT 2
- Happy Holidays! ❄️ ⏳ The team will be on break from Dec 22nd 2023 to Jan 3rd 2024
- Built-in InstallationStores fail to resolve a valid bot token when both bot and user-only installations co-exist in database tables HOT 2
- block/type/image should allow image_url to reference an uploaded file to Slack without having to make it public HOT 2
- aiohttp based socket_mode failed to reconnect and enter a broken state HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-slack-sdk.