Giter VIP home page Giter VIP logo

Comments (4)

erikbern avatar erikbern commented on August 27, 2024

Is it a recursive dependency? In requires(), you can just step backwards and find the last invocation of the same task and depend on it

from luigi.

freider avatar freider commented on August 27, 2024

@jcoveney Isn't the basic issue that you have different task instances with the same output target? Another way of solving it is to remove the parameters on the conflicting task...
I agree it would be useful and logical to make luigi track targets instead of task ids and it's something I have discussed offline with Erik a few times, but so far we've always found some non-trivial issue that prevents us from implementing it... Still think there should be a way to do it while maintaining the task/target model, but it will probably complicate the graph visualisation. For now, I think you can circumvent the problem by either doing the short circuit (self.complete()) check at the start of run() or just removing the parameter (making any run of the task allowable for the duration of your pipeline)

from luigi.

Tarrasch avatar Tarrasch commented on August 27, 2024

I'm closing this issue.

  • It has been inactive for +4 months.
  • It's not about luigi core, so not as many users are affected about this.
  • The change seems quite big, it's unlikely to be sporadically picked up.
  • The owner haven't responded or disappeared.
  • I don't understand what this is issue is about.
  • There exists a reasonable workaround for this.
  • We need to check if this hasn't been fixed by now (for old issues).

Every open issue adds some clutter, and we try to make the issues fewer and make it easier for new collaborators to find. Currently we try to close any issue that meets the first checkbox + one other.

Feel free to reopen this issue at any point if you have the intent to continue to work this. :)

from luigi.

Tarrasch avatar Tarrasch commented on August 27, 2024

big change because: Luigi relies on configuration in code. Hard to analyze

workaround: There's the deps tools now.

from luigi.

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.