Commit 99cfb34
authored
Return the job ids for use later (#67)
## Nate's Summary
Return the job ids that are generated for this backfill run. Useful for
consumers to be able to easily find the configs after they've been
generated.
## Copilot's Summary
This pull request updates the `generate_backfill_config` function in
`src/cfa_config_generator/utils/epinow2/driver_functions.py` to include
a return type annotation, a detailed description of the return value in
the docstring, and a return statement for the list of job IDs.
### Changes to `generate_backfill_config` function:
* **Type Annotation**: Added a return type annotation `-> list[str]` to
specify that the function returns a list of strings.
* **Docstring Update**: Expanded the docstring to include a "Returns"
section, describing that the function returns a list of job IDs for each
report date in the backfill run.
* **Return Statement**: Added a `return job_ids` statement at the end of
the function to ensure the list of job IDs is returned.1 parent 10a5b8a commit 99cfb34
1 file changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
336 | 336 | | |
337 | 337 | | |
338 | 338 | | |
339 | | - | |
| 339 | + | |
340 | 340 | | |
341 | 341 | | |
342 | 342 | | |
| |||
388 | 388 | | |
389 | 389 | | |
390 | 390 | | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
391 | 397 | | |
392 | 398 | | |
393 | 399 | | |
| |||
485 | 491 | | |
486 | 492 | | |
487 | 493 | | |
| 494 | + | |
| 495 | + | |
0 commit comments