ndrluis commented on code in PR #1007: URL: https://github.com/apache/iceberg-python/pull/1007#discussion_r1711966599
########## 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( + deprecated_in="0.8.0", + removed_in="0.9.0", + help_message=f"The property {GCS_ENDPOINT} is deprecated, please use {GCS_SERVICE_HOST} instead", + )(lambda: None)() Review Comment: ```suggestion deprecation_message( deprecated_in="0.8.0", removed_in="0.9.0", help_message=f"The property {GCS_ENDPOINT} is deprecated, please use {GCS_SERVICE_HOST} instead", ) ``` -- 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