gravitino.api.authorization.owner.Owner

class gravitino.api.authorization.owner.Owner

Bases: ABC

The interface of an owner. The owner represents the user or group who owns a metadata object.

__init__()

Methods

__init__()

name()

The name of the owner.

type()

The type of the owner.

class Type(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)

Bases: Enum

The type of the owner.

abstract name() str

The name of the owner.

Returns:

str: The name of the owner.

abstract type() Type

The type of the owner.

Returns:

Owner.Type: The type of the owner.