Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new feature: open exists api in operator for python binding #5408

Open
1 task done
yihong0618 opened this issue Dec 12, 2024 · 2 comments
Open
1 task done

new feature: open exists api in operator for python binding #5408

yihong0618 opened this issue Dec 12, 2024 · 2 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@yihong0618
Copy link
Contributor

Feature Description

https://opendal.apache.org/docs/rust/opendal/struct.Operator.html#method.exists
seems it is not in python binding and some repo need to use it

Problem and Solution

add it

Additional Context

No response

Are you willing to contribute to the development of this feature?

  • Yes, I am willing to contribute to the development of this feature.
@yihong0618 yihong0618 added the enhancement New feature or request label Dec 12, 2024
@Yashika-code
Copy link

Yashika-code commented Dec 14, 2024

@Xuanwo @yihong0618 Yes, I am willing to contribute to the development of this feature. Can you please explain it more how can i do that ?

@Xuanwo Xuanwo added good first issue Good for newcomers help wanted Extra attention is needed labels Dec 18, 2024
@Xuanwo
Copy link
Member

Xuanwo commented Dec 18, 2024

@Xuanwo @yihong0618 Yes, I am willing to contribute to the development of this feature. Can you please explain it more how can i do that ?

Hi, we need to implement an exists(&self, path: &str) -> PyResult<bool> like the following:

pub fn delete(&self, path: &str) -> PyResult<()> {
self.core.delete(path).map_err(format_pyerr)
}

Yashika-code added a commit to Yashika-code/opendal that referenced this issue Dec 19, 2024
Yashika-code added a commit to Yashika-code/opendal that referenced this issue Dec 19, 2024
Yashika-code added a commit to Yashika-code/opendal that referenced this issue Dec 23, 2024
Yashika-code added a commit to Yashika-code/opendal that referenced this issue Dec 23, 2024
Yashika-code added a commit to Yashika-code/opendal that referenced this issue Dec 23, 2024
Yashika-code added a commit to Yashika-code/opendal that referenced this issue Dec 23, 2024
Yashika-code added a commit to Yashika-code/opendal that referenced this issue Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants