curved-manchester-66006
03/16/2023, 7:58 PMpants help-advanced docker_image
nor pants help-advanced target
mention a name
field. But I'm pretty sure targets have names? From the code it looks like the "answer" is:
⢠(A) All `pants.engine.target.Target`s have a name, but it maybe an implicit one.
⢠(B) but! In the case of macros, when you are looking at kwargs said implicit name would not yet be available.
So I think I've answered my own question. But should I have been able to answer (A) from help
and not grepping the pants source code?curved-television-6568
03/16/2023, 8:16 PMcurved-television-6568
03/16/2023, 8:21 PMbuild_file_dir().name