GithubHelp home page GithubHelp logo

Comments (3)

Kami avatar Kami commented on June 12, 2024

I think you are confusing two different things again - Python client library (st2client) and datastore service which is available to sensors and actions via {sensor,action}_service.

The documentation you linked to talks about Python client library (st2client) and CLI so docs about datastore service have nothing to do with that.

We already have docs on sensor_service and action_service which which talk how to access datastore via those services (those docs are in the actions and sensors section of the documentation) - https://docs.stackstorm.com/actions.html#action-service, https://docs.stackstorm.com/sensors.html#datastore-management-operations

from st2docs.

lakshmi-kannan avatar lakshmi-kannan commented on June 12, 2024

The documentation you linked to talks about Python client library (st2client) and CLI so docs about datastore service have nothing to do with that.

I think we have to deprecate this option since we now expose sensor_service and action_service. That's my real question.

from st2docs.

Kami avatar Kami commented on June 12, 2024

I think we are still having a misunderstanding.

Python client library doesn't really have anything to do with sensor and action services (besides action and service sensor utilizing it). It's two different levels of abstraction serving different purposes.

As far as documentation goes - I'm all for improving it, but as noted above - we already have docs on action and sensor service and we still need docs for client library since that's unrelated to action and sensor service (I'm of course not against improving the existing docs and adding more documentation though - and yes, adding a section on action / sensor service to datastore chapter is probably a good idea - even if we just link to corresponding action and sensor chapter).

from st2docs.

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.