File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -79,8 +79,8 @@ class Connector:
79
79
pinlabels : List [Any ] = field (default_factory = list )
80
80
pins : List [Any ] = field (default_factory = list )
81
81
color : Optional [str ] = None
82
- show_name : bool = None
83
- show_pincount : bool = None
82
+ show_name : Optional [ bool ] = None
83
+ show_pincount : Optional [ bool ] = None
84
84
hide_disconnected_pins : bool = False
85
85
autogenerate : bool = False
86
86
loops : List [Any ] = field (default_factory = list )
@@ -167,7 +167,7 @@ class Cable:
167
167
length : float = 0
168
168
color : Optional [str ] = None
169
169
wirecount : Optional [int ] = None
170
- shield : bool = False
170
+ shield : Union [ bool , str ] = False # False | True | color
171
171
image : Optional [Image ] = None
172
172
notes : Optional [str ] = None
173
173
colors : List [Any ] = field (default_factory = list )
You can’t perform that action at this time.
0 commit comments