We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c730bb5 commit 86d6548Copy full SHA for 86d6548
dataikuapi/dss/utils.py
@@ -80,3 +80,11 @@ def from_ref(context_project_key, ref):
80
return AnyLoc(elts[0], elts[1])
81
else:
82
return AnyLoc(context_project_key, ref)
83
+
84
+ @staticmethod
85
+ def from_full(ref):
86
+ if ref.find(".") >= 0:
87
+ elts = ref.split(".")
88
+ return AnyLoc(elts[0], elts[1])
89
+ else:
90
+ raise Exception("Cannot parse object id, it's not a full id")
0 commit comments