pynetdicom._config.UNRESTRICTED_STORAGE_SERVICE

pynetdicom._config.UNRESTRICTED_STORAGE_SERVICE: bool = False

When acting as an SCP assume all presentation contexts with private or unknown public abstract syntaxes belong to the storage service and accept all storage service requests.

New in version 2.0.

When True it’s no longer necessary to define any supported presentation contexts from the storage service and any that have been added will be ignored, however the supported contexts for other services will still need to be specified.

This also applies to the Storage SCP used when making C-GET requests, however the usual requested presentation contexts and SCP/SCU Role Selection items are still required.

Default: False

Examples

Always accept storage requests and treat unknown presentation contexts as part of the storage service.

>>> from pynetdicom import _config
>>> _config.UNRESTRICTED_STORAGE_SERVICE = True