We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 92a23b6 commit 7acabafCopy full SHA for 7acabaf
imas/training.py
@@ -2,8 +2,6 @@
2
# You should have received the IMAS-Python LICENSE file with this project.
3
"""Functions that are useful for the IMAS-Python training courses."""
4
5
-from unittest.mock import patch
6
-
7
try:
8
from importlib.resources import files
9
except ImportError: # Python 3.8 support
@@ -15,8 +13,8 @@
15
13
def get_training_db_entry(convert=False) -> imas.DBEntry:
16
14
"""Open and return an ``imas.DBEntry`` pointing to the training data.
17
18
- Args:
19
- convert: if True, converts assets to default DD version
+ Args:
+ convert: if True, converts assets to default DD version
20
"""
21
assets_path = files(imas) / "assets/"
22
entry = imas.DBEntry(f"imas:ascii?path={assets_path}", "r")
0 commit comments