Qcodes icon indicating copy to clipboard operation
Qcodes copied to clipboard

Type annotate qcodes.math.*, make FieldVector's attributes always computed

Open astafan8 opened this issue 6 years ago • 0 comments

todo until completion:

  • [ ] rework the logic regarding _compute_unknowns method so that a FieldVector instance ALWAYS has ALL of its coordinates calculated (currently it is possible to end up with a FieldVector that has some of its attributes equal to None)
  • [ ] remove T TypeVar completely becuase mypy complained when it was used to annotate dunder methods :( or use T such that mypy understands the typing of dunders

astafan8 avatar Nov 12 '19 19:11 astafan8