Giter Site home page Giter Site logo

Comments (2)

cmutel avatar cmutel commented on July 29, 2024

I didn't understand this at first, as one always needs to specify the database against which one is linking. However, I think the problem that @marc-vdm identified is that your source data could include links to multiple secondary databases, and he wants to be able to avoid incorrect matches.

I am reluctant to add this to the default implementation - it will break more than it fixes in most use cases. But I agree that we should make it more clear how to make changes to the fields passed in as a default, both in the documentation and source code. We could also add a convenience function to make this simpler (now you would have to find the curried strategy by index if using the default strategy list).

from brightway2-io.

marc-vdm avatar marc-vdm commented on July 29, 2024

For clarity:

problem that @marc-vdm identified is that your source data could include links to multiple secondary databases, and he wants to be able to avoid incorrect matches.

Yes, that's indeed what I meant.

However, we continued some discussion internally over here in parallel, and I agree, this should probably not become a default field in BW.

I'll leave this open if you want to keep this for tracking the documentation improvement, otherwise, just close it.

from brightway2-io.

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.