gdsfactory / kfactory

gdsfactory with a klayout backend
https://gdsfactory.github.io/kfactory/
MIT License
34 stars 13 forks source link

MetaDate type error #515

Closed MatthewMckee4 closed 1 week ago

MatthewMckee4 commented 1 week ago

Describe the bug The MetaData TypeAlias in the kcell.py file fails type checking

To Reproduce Steps to reproduce the behavior:

  1. Go to 'src/kfactory/kcell.py'
  2. Scroll down to 'MetaData variable initialization on line 155'
  3. See type error

Expected behavior There should be no type error

Screenshots image

Desktop (please complete the following information):

Additional context This variable is also not exported in the all variable, but its used in the gdsfactory repo. I am working on improving type hints there, so it should be exported there too for the type checker