Service
A service is the SDK's connection to a remote Integrity Service or Governance Studio-backed API.
A service is the SDK’s connection to a remote Integrity Service or Governance Studio-backed API.
You should use Service when you want to move beyond local graph generation and start registering contexts, statements, and blobs with a remote system. That is the path for sharing graphs, registering them to Governance Studio projects, or making locally generated provenance available to other systems.
Typical usage is:
- create a
Servicewith the remote base URL - provide an API key directly or through
EQTY_API_KEYwhen required by your workflow - call
Context.register(service)or related APIs to push the graph and referenced blobs
If your workflow is only generating local manifests, you may not need Service at all.
Service for connecting to the Integrity Service API.
Functions:
- new – Creates a service client using the provided URL and API key.
Attributes:
- base_path (
str) – Base URL path for the API (e.g., https://api.example.com ).
eqty_sdk._rust.Service.base_path
base_path: strBase URL path for the API (e.g., https://api.example.com ).
eqty_sdk._rust.Service.new
new(url: str, api_key: Optional[str] = None) -> ServiceCreates a service client using the provided URL and API key.