fix: added code type to default types
This commit is contained in:
parent
8890d37a44
commit
93de968cf1
1 changed files with 3 additions and 1 deletions
|
|
@ -69,7 +69,9 @@ class Node:
|
|||
for key, value in template_dict.items():
|
||||
if key == "_type":
|
||||
continue
|
||||
if value["type"] not in ["str", "bool"]:
|
||||
# If the type is not transformable to a python base class
|
||||
# then we need to get the edge that connects to this node
|
||||
if value["type"] not in ["str", "bool", "code"]:
|
||||
# Get the edge that connects to this node
|
||||
edge = next(
|
||||
(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue