When using two pipeline instances with a duckdb destination, the credentials are not resolved the right way. This does not seem to be the case for other destinations.
p1 = dlt.pipeline("p1", destination=duckdb(credentials="./duck1.duckdb"))
p2 = dlt.pipeline("p2", destination=duckdb(credentials="./duck2.duckdb"))
# both below lines print "duckdb:////Volumes/dlthub/dlt/duck2.duckdb"
# but the first one should be duck1.duckdb
print(p1.destination_client().config.credentials)
print(p2.destination_client().config.credentials)
When using two pipeline instances with a duckdb destination, the credentials are not resolved the right way. This does not seem to be the case for other destinations.