benchling_sdk.helpers.package_helpers module¶

class ExtrasPackage¶

Bases: enum.Enum

Names of optional extras packages in the SDK.

CRYPTOGRAPHY = 'cryptography'¶
PYTHON_JOSE = 'python-jose'¶
exception MissingExtrasError¶

Bases: Exception

Missing extras error.

Some SDK functionality requires optional extras packages are installed. Certain code paths may still be usable without them, so we ship all SDK features but will raise this error at runtime if a particular dependency is missing for code that requires it.