Git Product home page Git Product logo

Comments (8)

shahargl avatar shahargl commented on August 15, 2024

/bounty 50

from keep.

algora-pbc avatar algora-pbc commented on August 15, 2024

💎 $50 bounty created by shahargl
🙋 If you start working on this, comment /attempt #624 to notify everyone
👉 To claim this bounty, submit a pull request that includes the text /claim #624 somewhere in its body
📝 Before proceeding, please make sure you can receive payouts in your country
💵 Payment arrives in your account 2-5 days after the bounty is rewarded
💯 You keep 100% of the bounty award
🙏 Thank you for contributing to keephq/keep!

Attempt Started (GMT+0) Solution
🟢 @rishi-raj-jain Dec 12, 2023, 7:51:21 AM #625

from keep.

rishi-raj-jain avatar rishi-raj-jain commented on August 15, 2024

@shahargl

We want to connect mongodb using pymongo https://www.w3schools.com/python/python_mongodb_create_db.asp, right?

from keep.

shahargl avatar shahargl commented on August 15, 2024

yea you can use pymongo for that. notice that you need also scopes and validate_scopes (you can see datadog provider for example). also note that this should support self hosted mongo so the URL is also necessary. @rishi-raj-jain

from keep.

rishi-raj-jain avatar rishi-raj-jain commented on August 15, 2024

@shahargl

Awesome, that sounds great. I think the URL part is already handled by the below whether it's localhost or a production URL.

myclient = pymongo.MongoClient("mongodb://localhost:27017/")

you need also scopes and validate_scopes

I did see the datadog provider but that seems too heavy to parse, do we have a guide on what are these scopes and validate_scopes?

from keep.

shahargl avatar shahargl commented on August 15, 2024

So look at mysql_provider, much easier

from keep.

algora-pbc avatar algora-pbc commented on August 15, 2024

💡 @rishi-raj-jain submitted a pull request that claims the bounty. You can visit your bounty board to reward.

from keep.

algora-pbc avatar algora-pbc commented on August 15, 2024

🎉🎈 @rishi-raj-jain has been awarded $50! 🎈🎊

from keep.

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.