ndrluis commented on code in PR #1007: URL: https://github.com/apache/iceberg-python/pull/1007#discussion_r1711963854
########## pyiceberg/io/fsspec.py: ########## @@ -158,6 +160,14 @@ def _gs(properties: Properties) -> AbstractFileSystem: # https://gcsfs.readthedocs.io/en/latest/api.html#gcsfs.core.GCSFileSystem from gcsfs import GCSFileSystem + if (endpoint := properties.get(GCS_ENDPOINT)) and GCS_SERVICE_HOST not in properties: + deprecated( Review Comment: Now we have the deprecation_message function, which could be used 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