We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7eab3f commit 7f7365cCopy full SHA for 7f7365c
src/datalab_api/helpers.py
@@ -1,4 +1,5 @@
1
import random
2
+import warnings
3
from pathlib import Path
4
5
from datalab_api import DatalabClient, DuplicateItemError
@@ -13,6 +14,12 @@ def import_cheminventory(filename: Path, client: DatalabClient):
13
14
15
"""
16
17
+ warnings.warn(
18
+ DeprecationWarning(
19
+ "This helper is deprecated in favour of the full-fledged plugin at: https://github.com/datalab-industries/datalab-cheminventory-plugin"
20
+ )
21
22
+
23
def _generate_random_startingmaterial_id():
24
"""Generate 'XX' + a random 15-length string for use as an id for starting materials
25
that don't have a barcode.
0 commit comments