add type hint
このコミットが含まれているのは:
コミット
dfbb907274
1個のファイルの変更、1行の追加、0行の削除
|
|
@ -96,6 +96,7 @@ def read_devices(el_map: ElementTree.Element) -> list[Device]:
|
|||
f'with attributes {el_entry.attrib}')
|
||||
continue
|
||||
|
||||
bin_code: int | str
|
||||
if bin_type == 'Decimal':
|
||||
bin_code = int(attrib['BinCode'])
|
||||
else:
|
||||
|
|
|
|||
読み込み中…
テーブル追加
リンク追加
新しいイシューから参照