Coder Social home page Coder Social logo

Expose X-akismet-pro-tip about akismet HOT 4 CLOSED

ubernostrum avatar ubernostrum commented on May 14, 2024
Expose X-akismet-pro-tip

from akismet.

Comments (4)

ubernostrum avatar ubernostrum commented on May 14, 2024

The crucial question here is how to expose this given the existing API of the module -- there's no obvious extra channel for it to return this information right now.

from akismet.

nijel avatar nijel commented on May 14, 2024

Meanwhile, I've switched to a different module which has this: https://github.com/Nekmo/python-akismet/blob/3c6d0f4e24ddeeb0a40ea76ff4e89c866bad03c3/akismet/__init__.py#L23-L27. It still works as a boolean condition, but the truthy values have additional information.

from akismet.

ubernostrum avatar ubernostrum commented on May 14, 2024

The issue there, though, is that it would be a backwards-incompatible change to the API of this module to change to doing something like that. Iā€™d prefer to avoid backwards incompatible changes if possible, or only make that change if I have reason to be making other incompatible changes at the same time.

from akismet.

ubernostrum avatar ubernostrum commented on May 14, 2024

The most recent commits I've pushed, which will become version 1.3 once I finalize some API choices, now expose the "discard" value through a new API.

from akismet.

Related Issues (2)

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.