Closed gordonwatts closed 2 months ago
This is likely an issue with pylance and pydantic working together. Or perhaps some missing type info for Sample's constructor/__init__ function.
pylance
pydantic
Sample
__init__
Sample=[ sx.Sample( Name=f"speed_test_{ds_name}"[0:128], RucioDID=ds_name, Codegen=query[1], Query=query[0], NFiles=num_files, IgnoreLocalCache=ignore_cache, ) # type: ignore
And latest updates to pydantic and pylance - and this is no longer an error!
This is likely an issue with
pylance
andpydantic
working together. Or perhaps some missing type info forSample
's constructor/__init__
function.