Skip to main content

intrinsic.solutions.providers.ResourceProvider

Provides access resources from a solution.

Methods

append

View source

Appends a handle to the resources.

If an item is appended with special characters not allowed in Python field names, it generates a sanitized version replacing special characters by underscores. Consider a handle called "special:name". It will be accessible through: list.special_name list["special_name"] list["special:name"] The handle's proto will always contain special:name as its name.

Args

handle_or_proto

Resource handle to add, either wrapper or proto

update

View source

Fetches current resources from registry.

Raises

grpc.RpcError

When gRPC call to resource registry fails.

getitem

View source

Returns the resource handle for the given name.