Ice.Identity

class Ice.Identity(name: str = '', category: str = '')

Bases: object

Represents the identity of an Ice object. It is comparable to the path of a URI. Its string representation is name when the category is empty, and category/name when the category is not empty.

Parameters:
name

The name of the Ice object. An empty name is not valid.

Type:

str

category

The category of the object.

Type:

str

Notes

The Slice compiler generated this dataclass from Slice struct ::Ice::Identity.