chitralverma commented on code in PR #6690:
URL: https://github.com/apache/opendal/pull/6690#discussion_r2441578114


##########
bindings/python/src/bin/stub_gen.rs:
##########
@@ -0,0 +1,8 @@
+use pyo3_stub_gen::Result;
+
+fn main() -> Result<()> {
+    // `stub_info` is a function defined by `define_stub_info_gatherer!` macro.
+    let stub = _opendal::stub_info()?;
+    stub.generate()?;

Review Comment:
   tried that but doesn't work. `_opendal` crate is needed.
   
   
https://github.com/Jij-Inc/pyo3-stub-gen?tab=readme-ov-file#generate-a-stub-file
   
   



-- 
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]

Reply via email to