File tree 2 files changed +1
-8
lines changed 2 files changed +1
-8
lines changed Original file line number Diff line number Diff line change 36
36
from .catalog import Catalog , Database , Table
37
37
38
38
# 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
40
40
41
41
from .record_batch import RecordBatchStream , RecordBatch
42
42
73
73
"literal" ,
74
74
"lit" ,
75
75
"DFSchema" ,
76
- "runtime" ,
77
76
"Catalog" ,
78
77
"Database" ,
79
78
"Table" ,
Original file line number Diff line number Diff line change @@ -66,7 +66,6 @@ pub mod utils;
66
66
static GLOBAL : MiMalloc = MiMalloc ;
67
67
68
68
// Used to define Tokio Runtime as a Python module attribute
69
- #[ pyclass]
70
69
pub ( crate ) struct TokioRuntime ( tokio:: runtime:: Runtime ) ;
71
70
72
71
/// Low-level DataFusion internal package.
@@ -75,11 +74,6 @@ pub(crate) struct TokioRuntime(tokio::runtime::Runtime);
75
74
/// datafusion directory.
76
75
#[ pymodule]
77
76
fn _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
- ) ?;
83
77
// Register the python classes
84
78
m. add_class :: < catalog:: PyCatalog > ( ) ?;
85
79
m. add_class :: < catalog:: PyDatabase > ( ) ?;
You can’t perform that action at this time.
0 commit comments