Skip to content

Commit 747654d

Browse files
hashharebyhr
authored andcommitted
Revert "Don't limit the modules that can be imported"
This reverts commit f9e68da. This change broke the README code snippets with an error like "Cannot find reference 'dbapi' in '__init__.py'.
1 parent 94fcc4f commit 747654d

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

trino/__init__.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,13 @@
1010
# See the License for the specific language governing permissions and
1111
# limitations under the License.
1212

13+
from . import auth
14+
from . import dbapi
15+
from . import client
16+
from . import constants
17+
from . import exceptions
18+
from . import logging
19+
20+
__all__ = ['auth', 'dbapi', 'client', 'constants', 'exceptions', 'logging']
21+
1322
__version__ = "0.307.0"

0 commit comments

Comments
 (0)