diff --git a/pyiceberg/typedef.py b/pyiceberg/typedef.py index 01b8bea58..b2c3f8af2 100644 --- a/pyiceberg/typedef.py +++ b/pyiceberg/typedef.py @@ -74,8 +74,23 @@ def __missing__(self, key: K) -> V: Identifier = Tuple[str, ...] +"""A tuple of strings representing a table identifier. + +Each string in the tuple represents a part of the table's unique path. For example, +a table in a namespace might be identified as: + + ("namespace", "table_name") + +Examples: + >>> identifier: Identifier = ("namespace", "table_name") +""" + Properties = Dict[str, Any] +"""A dictionary type for properties in PyIceberg.""" + + RecursiveDict = Dict[str, Union[str, "RecursiveDict"]] +"""A recursive dictionary type for nested structures in PyIceberg.""" # Represents the literal value L = TypeVar("L", str, bool, int, float, bytes, UUID, Decimal, covariant=True)