GithubHelp home page GithubHelp logo

Comments (4)

rawdigits avatar rawdigits commented on May 23, 2024

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.

elementc avatar elementc commented on May 23, 2024

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.

elementc avatar elementc commented on May 23, 2024

#70 was obsoleted by #74 which also fixes #73 in addition to this issue.

from python-slack-sdk.

ravenCondol avatar ravenCondol commented on May 23, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.