Skip to content

Module invenio_rest_api_client.models.pid

Variables

T

Classes

PID

class PID(
    identifier: invenio_rest_api_client.types.Unset | Any = <invenio_rest_api_client.types.Unset object at 0x7f5f74d96cf0>,
    provider: invenio_rest_api_client.types.Unset | str = <invenio_rest_api_client.types.Unset object at 0x7f5f74d96cf0>,
    client: invenio_rest_api_client.types.Unset | str = <invenio_rest_api_client.types.Unset object at 0x7f5f74d96cf0>
)

An external persistent identifier object.

Attributes

Name Type Description Default
identifier Union[Unset, Any] An identifier. None
provider Union[Unset, str] The provider of the persistent identifier. None
client Union[Unset, str] Client identifier for the specific PID. None

Static methods

from_dict

def from_dict(
    src_dict: collections.abc.Mapping[str, typing.Any]
) -> ~T

Instance variables

client
identifier
provider

Methods

to_dict

def to_dict(
    self
) -> dict[str, typing.Any]