chitralverma commented on code in PR #7869:
URL: https://github.com/apache/opendal/pull/7869#discussion_r3533877390
##########
bindings/python/python/opendal/operator.pyi:
##########
@@ -746,6 +775,35 @@ class Operator:
bool
True if the path exists, False otherwise.
"""
+ @classmethod
+ def from_uri(cls, /, uri: str, **kwargs) -> Operator:
Review Comment:
this is just an optional capability to override URI provided options for the
rare cases when an option is more convenient to pass separately or it is of
complex type.
Also this is in line with the existing node.js bindings.
--
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]