File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 11# distutils: language = c++
22# cython: c_string_type=unicode, c_string_encoding=utf8
33
4- import json
54from types import SimpleNamespace
65
76from cython.operator cimport dereference as deref
@@ -159,7 +158,7 @@ cdef class Pipeline:
159158
160159 @property
161160 def schema (self ):
162- return json.loads( self ._get_executor().getSchema() )
161+ return self ._get_executor().getSchema()
163162
164163 @property
165164 def pipeline (self ):
Original file line number Diff line number Diff line change @@ -42,6 +42,10 @@ def __init__(
4242 def stages (self ) -> List [Stage ]:
4343 return list (self ._stages )
4444
45+ @property
46+ def schema (self ) -> Any :
47+ return json .loads (super ().schema )
48+
4549 @property
4650 def loglevel (self ) -> int :
4751 return LogLevelFromPDAL [super ().loglevel ]
You can’t perform that action at this time.
0 commit comments