How do I wire dependencies with multiple resolves?...
# general
g
How do I wire dependencies with multiple resolves? This isn't working and I'm sort of lost on how to do this.
Copy code
python_sources()

python_source(
    name="init-company-dp-pydantic-v1",
    source="__init__.py",
    dependencies=[":index_schema@company-dp-pydantic-v1"],
)

python_source(
    name="init-company-data-jobs",
    source="__init__.py",
    dependencies=[":index_schema@resolve=company-data-jobs"],
)
The root BUILD.pants file has this:
Copy code
__defaults__(all=dict(resolve=parametrize("company-data-jobs", "company-dp-pydantic-v1")))
b
What errors or behaviour are you getting that isn't what you expect?