Document tricks to allow direct import from xxx
parent
09c1e3b3f4
commit
0c3b08ef4c
|
@ -1 +1,4 @@
|
||||||
|
# This trick is to allow direct import of sub-modules
|
||||||
|
# without this, we can only do `from gtsam.gtsam.imuBias import X`
|
||||||
|
# with this trick, we can do `from gtsam.imuBias import X`
|
||||||
from .gtsam.imuBias import *
|
from .gtsam.imuBias import *
|
||||||
|
|
|
@ -1 +1,4 @@
|
||||||
|
# This trick is to allow direct import of sub-modules
|
||||||
|
# without this, we can only do `from gtsam.gtsam.noiseModel import X`
|
||||||
|
# with this trick, we can do `from gtsam.noiseModel import X`
|
||||||
from .gtsam.noiseModel import *
|
from .gtsam.noiseModel import *
|
|
@ -1 +1,4 @@
|
||||||
|
# This trick is to allow direct import of sub-modules
|
||||||
|
# without this, we can only do `from gtsam.gtsam.symbol_shorthand import X`
|
||||||
|
# with this trick, we can do `from gtsam.symbol_shorthand import X`
|
||||||
from .gtsam.symbol_shorthand import *
|
from .gtsam.symbol_shorthand import *
|
Loading…
Reference in New Issue