question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add option to customise names of grid tasks.

See original GitHub issue

When running tasks in a grid, a number is appended at the end of the tasks product names. For example, the following pipeline.yaml file:

- source: example_task.py
   name: example-task
   product:
       data: output/output_dataframe.csv
   grid:
       input_dataframe: ['birds.csv', 'fish.csv', 'flowers.csv']

would result in 3 products: output_dataframe-1.csv, output_dataframe-2.csv and output_dataframe-3.csv.

I would like to have an option to replace -1, -2 and -3 in the filenames with for example -birds, -fish and -flowers.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
hornstecommented, Mar 11, 2022

I like the product_suffix as well. Would be nice to apply to task_suffix as well.

That way if you had something like:

grid:
   param1: [1,2,3,4]
   param2: [a,b,c,d]

you could do, product_suffix: ‘-{{param1}}-{{param2}}’

1reaction
hornstecommented, Mar 30, 2022

Yes, definitely would be helpful that you could have it anywhere in the product path, whether it was a directory name or part of the file name.

product: data: output/[[input_dataframe]]/one.csv data2: output/[[input_dataframe]].csv data3: output/testing.[[extension]]

so could be a prefix, suffix, directory name, etc. and of course, would need to be able to use more than one of them at once.

product: data: output/[[dir]]/[[filename]].[[extension]]

Read more comments on GitHub >

github_iconTop Results From Across the Web

Create a custom field in Project - Microsoft Support
Change a custom field's name · With the project open, on the Tasks tab, make sure Grid is selected. · In the grid,...
Read more >
Grid layout using named grid lines - CSS - MDN Web Docs
This time I'll create the grid using named lines. ... Once the lines have names, we can use the name to place the...
Read more >
How To: Understand the Task Grid - CentralReach Community
Select Configure Grid Columns to add or delete columns from your tasks grid, with the following options: Favorite: identifies your favorite ...
Read more >
Create lists and tasks - Google Workspace Learning Center
Create a list · At the top of the Tasks window, click the Down arrow Drop down arrow and then Create new list....
Read more >
Display a User's Tasks in a Grid With Task Links - Appian 22.4
Setup · In the Build view of your application, click NEW > Process Report. · Select Create from scratch. · Name the report...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found