Skip to content
Merged
Show file tree
Hide file tree
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
4 changes: 3 additions & 1 deletion pyorthanc/_internal_client.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import json

from . import Orthanc, orthanc_sdk
from . import Orthanc
from .errors import NotInInternalEnvironmentError


Expand All @@ -26,6 +26,8 @@ def get_internal_client() -> Orthanc:
...
... orthanc_sdk.RegisterRestCallback('/get-modalities-in-orthanc', get_modalities_in_orthanc)
"""
from pyorthanc import orthanc_sdk

config = orthanc_sdk.GetConfiguration()

if not config:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "pyorthanc"
version = "1.22.0"
version = "1.22.1"
description = "Orthanc REST API python wrapper with additional utilities"
authors = [
"Gabriel Couture <gacou54@gmail.com>",
Expand Down