freezing-fall-2672
09/04/2023, 1:15 PMstring_imports = true
in pants.toml
but when I convert the needed import to be dynamic, the module isn't found - which makes sense somehow I guess.
How would I get rid of the need for string imports at this stage?freezing-fall-2672
09/04/2023, 1:22 PMstring_imports
--[no-]python-infer-string-imports
PANTS_PYTHON_INFER_STRING_IMPORTS
default:False
Infer a target's dependencies based on strings that look like dynamic dependencies, such as Django settings files expressing dependencies as strings.
To ignore a false positive, you can either puton the line of the string or put# pants: no-infer-dep
in the!{bad_address}
field of your target.dependencies
freezing-fall-2672
09/04/2023, 1:25 PMhappy-kitchen-89482
09/04/2023, 1:39 PM