Xuanwo commented on code in PR #2950:
URL:
https://github.com/apache/incubator-opendal/pull/2950#discussion_r1306900890
##########
bindings/python/python/opendal/__init__.pyi:
##########
@@ -40,6 +40,9 @@ class AsyncOperator:
async def delete(self, path: str): ...
async def list(self, path: str) -> AsyncIterable[Entry]: ...
async def scan(self, path: str) -> AsyncIterable[Entry]: ...
+ async def presign_stat(self, path: str, expire: int) -> PresignedRequest:
...
Review Comment:
Does python has native duration type?I don't like the idea of using `int`
instead of `Duration`.
##########
bindings/python/python/opendal/__init__.pyi:
##########
@@ -40,6 +40,9 @@ class AsyncOperator:
async def delete(self, path: str): ...
async def list(self, path: str) -> AsyncIterable[Entry]: ...
async def scan(self, path: str) -> AsyncIterable[Entry]: ...
+ async def presign_stat(self, path: str, expire: int) -> PresignedRequest:
...
Review Comment:
Does python has native duration type?I don't like the idea of using `int`
instead of `Duration`.
--
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]