Skip to content

Commit

Permalink
Adjust load_nodes_from JSON that it also handles lists correctly (#426)
Browse files Browse the repository at this point in the history
  • Loading branch information
InnocentBug authored Feb 22, 2024
1 parent bb545c4 commit cc50734
Show file tree
Hide file tree
Showing 4 changed files with 478 additions and 475 deletions.
2 changes: 1 addition & 1 deletion src/cript/api/utils/helper_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from typing import Dict, List, Union

from cript.nodes.exceptions import CRIPTJsonNodeError
from cript.nodes.util import _is_node_field_valid
from cript.nodes.util.json import _is_node_field_valid


def _get_node_type_from_json(node_json: Union[Dict, str]) -> str:
Expand Down
Loading

0 comments on commit cc50734

Please sign in to comment.