Skip to content

Commit

Permalink
Merge pull request #505 from simphony/urbanmatthias/issue504
Browse files Browse the repository at this point in the history
Hotfix needed: In Master branch from os.core.utils import pretty_print causes circular import. Fixes #504
  • Loading branch information
urbanmatthias authored Aug 27, 2020
2 parents 7ea71cb + 4e63e29 commit 1ee04df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osp/core/utils/general.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import json
import rdflib
from osp.core.namespaces import cuba
from osp.core.session.session import Session


def branch(cuds_object, *args, rel=None):
Expand Down Expand Up @@ -56,6 +55,7 @@ def get_rdf_graph(session=None):
Returns:
rdflib.Graph: The resulting rdf Graph
"""
from osp.core.session.session import Session
if session is not None:
if not isinstance(session, Session):
raise TypeError(
Expand Down

0 comments on commit 1ee04df

Please sign in to comment.