pytask-dev / pytask-dev/pytask

ENH: a few design ideas

Offen
#786 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

enhancement
Vorherrschende Sprache
Python
Sterne
146
Forks
14
Ø Merge
3 T. 16 Std.
Gemergte PRs (30 T.)
34

Beschreibung

Some ideas I wanted to share:

  • Add an ignore marker.
    Currently we have persist (run if output is missing) and skip (skip the task and everything downstream). An ignore marker could skip only the task itself while still allowing downstream tasks to run. This could be useful, for example, when dependencies or products were removed via DVC (or similar tools) and the user wants to ensure the task is not re-run.

  • Should the file location be part of the task ID?
    At the moment, a task is re-run if the containing file is moved. An alternative design would ignore such changes if the task content itself did not change.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Review the existing persist and skip marker behavior, then trace how task IDs respond when their containing file moves. Determine the intended semantics and trade-offs for the proposed ignore marker and file-location handling. Done would be an agreed design and documented scope, since the issue names no files or tests.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
python
Bereich
tooling
Issue-Typ
Feature
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Ruhig
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
30/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.