File tree Expand file tree Collapse file tree 2 files changed +1
-8
lines changed Expand file tree Collapse file tree 2 files changed +1
-8
lines changed Original file line number Diff line number Diff line change 3636from .catalog import Catalog , Database , Table
3737
3838# The following imports are okay to remain as opaque to the user.
39- from ._internal import Config , LogicalPlan , ExecutionPlan , runtime
39+ from ._internal import Config , LogicalPlan , ExecutionPlan
4040
4141from .record_batch import RecordBatchStream , RecordBatch
4242
7373 "literal" ,
7474 "lit" ,
7575 "DFSchema" ,
76- "runtime" ,
7776 "Catalog" ,
7877 "Database" ,
7978 "Table" ,
Original file line number Diff line number Diff line change @@ -66,7 +66,6 @@ pub mod utils;
6666static GLOBAL : MiMalloc = MiMalloc ;
6767
6868// Used to define Tokio Runtime as a Python module attribute
69- #[ pyclass]
7069pub ( crate ) struct TokioRuntime ( tokio:: runtime:: Runtime ) ;
7170
7271/// Low-level DataFusion internal package.
@@ -75,11 +74,6 @@ pub(crate) struct TokioRuntime(tokio::runtime::Runtime);
7574/// datafusion directory.
7675#[ pymodule]
7776fn _internal ( py : Python , m : Bound < ' _ , PyModule > ) -> PyResult < ( ) > {
78- // Register the Tokio Runtime as a module attribute so we can reuse it
79- m. add (
80- "runtime" ,
81- TokioRuntime ( tokio:: runtime:: Runtime :: new ( ) . unwrap ( ) ) ,
82- ) ?;
8377 // Register the python classes
8478 m. add_class :: < catalog:: PyCatalog > ( ) ?;
8579 m. add_class :: < catalog:: PyDatabase > ( ) ?;
You can’t perform that action at this time.
0 commit comments