Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions sdk/edir/et_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
from collections import defaultdict

from enum import Enum
from types import NoneType
from typing import Any, Dict, List, Optional, Set, Tuple

import torch
Expand Down Expand Up @@ -147,6 +148,8 @@ def _parse_args( # noqa: C901
raise Exception(
f"Unsupported argument encountered in list {arg}, {type(arg[0])}"
)
elif isinstance(arg, NoneType):
continue
else:
raise Exception(f"Unsupported argument encountered {op}, {name}, {arg}")

Expand Down