Skip to content

Commit

Permalink
set gil_used false
Browse files Browse the repository at this point in the history
  • Loading branch information
XmchxUp committed Dec 4, 2024
1 parent 176b8f1 commit 9b1e665
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bindings/python/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ pub use options::*;
///
/// asyncio.run(main())
/// ```
#[pymodule]
#[pymodule(gil_used = false)]
fn _opendal(py: Python, m: &Bound<'_, PyModule>) -> PyResult<()> {
m.add_class::<Operator>()?;
m.add_class::<AsyncOperator>()?;
Expand Down

0 comments on commit 9b1e665

Please sign in to comment.