geruh commented on code in PR #2848:
URL: https://github.com/apache/iceberg-python/pull/2848#discussion_r2648846098


##########
pyiceberg/catalog/rest/__init__.py:
##########
@@ -100,6 +137,66 @@ class Endpoints:
     fetch_scan_tasks: str = "namespaces/{namespace}/tables/{table}/tasks"
 
 
+class Capability:

Review Comment:
   Initially I went with this approach, but it felt like it just introduced 
some confusion. Since the Capabilities seem more like a `config` to flag 
support, and the resource paths or `Endpoints` are similar but adding the 
prefix to the url would make the url construction complex because prefix is 
optional.
   



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to