Skip to content

Commit f05b808

Browse files
timsaucerclaude
andcommitted
style: spell out the pyo3 imports in the bundle example
Every other module in this crate names the pyo3 items it uses; `extension.rs` arrived with a glob off the prelude. The crate's rustfmt config asks for `imports_granularity = Module`, which would have made the difference visible, but it is a nightly-only option and CI checks formatting on stable, so nothing was going to flag it. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
1 parent a9df02b commit f05b808

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎examples/datafusion-ffi-example/src/extension.rs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
// specific language governing permissions and limitations
1616
// under the License.
1717

18-
use pyo3::prelude::*;
19-
use pyo3::types::PyDict;
18+
use pyo3::types::{PyAnyMethods, PyDict, PyDictMethods};
19+
use pyo3::{Bound, Py, PyAny, PyResult, Python, pyclass, pymethods};
2020

2121
use crate::aggregate_udf::MySumUDF;
2222
use crate::scalar_udf::IsNullUDF;

0 commit comments

Comments
 (0)