Coder Social home page Coder Social logo

Understading Observable.defer about rxpy HOT 7 CLOSED

reactivex avatar reactivex commented on May 10, 2024
Understading Observable.defer

from rxpy.

Comments (7)

caente avatar caente commented on May 10, 2024

Actually I saw the problem, it should have been an Observable, I had my mocked function wrong -_-

from rxpy.

dbrattli avatar dbrattli commented on May 10, 2024

Hi, did you find the problem? If there's still a problem then it would be nice if you could try to isolate it and generate a test case that fails. Example test cases can be found both for on_error_resume_next and defer.

from rxpy.

caente avatar caente commented on May 10, 2024

The problems(where more than one) were totally mine. The first issue was that the on_error_resume_next wasn't getting an observable but a function, after fixing that I realized that the send_message function was wrongly mocked, when creating the observable, I was also creating the mocked message and putting it in the array that I would check later. I put the message creation inside the observable, so now is only created when the observable is subscribed by on_error_resume_next. Remember that we are talking about mocked code here.

In other words, defer works perfect in python 2.7, AFAIK.

from rxpy.

dbrattli avatar dbrattli commented on May 10, 2024

I am very curious about what you are making. Is it a private/closed project? Would be nice to one day see some real RxPY code in action.

from rxpy.

caente avatar caente commented on May 10, 2024

It is private so far, but we hope to make it open soon enough, is nothing fancy yet, an SQS client. We are using scala with Rx, for backend and NLP stuff. Recently our data scientists discovered a few python tools for NLP, and we want to keep  consistency across languages. So I’m replicating some of our libs in python :-)

This is us: https://x.ai/

 
 

On September 22, 2014 at 2:05:10 PM, Dag Brattli ([email protected]) wrote:

I am very curious about what you are making. Is it a private/closed project? Would be nice to one day see some real RxPY code in action.


Reply to this email directly or view it on GitHub.

from rxpy.

dbrattli avatar dbrattli commented on May 10, 2024

Sounds nice. I will try to help as much as I can, so please report any issues you have.

from rxpy.

lock avatar lock commented on May 10, 2024

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

from rxpy.

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.