rdblue commented on code in PR #6139: URL: https://github.com/apache/iceberg/pull/6139#discussion_r1022062043
########## python/pyiceberg/typedef.py: ########## @@ -36,3 +38,7 @@ def update(self, *args: Any, **kwargs: Any) -> None: Identifier = Tuple[str, ...] Properties = Dict[str, str] RecursiveDict = Dict[str, Union[str, "RecursiveDict"]] # type: ignore + +LITERAL_TYPES = Union[str, int, bool, float, bytes, Decimal, UUID] + +T = TypeVar("T", bound=LITERAL_TYPES) Review Comment: Shouldn't type variables be local? I guess we could do this if we wanted to have a very specific one that is shared, but I don't think that's the case here. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org