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 d6075a3 commit 167f3e2Copy full SHA for 167f3e2
1 file changed
pydeequ/checks.py
@@ -250,6 +250,7 @@ def isPrimaryKey(self, column, *columns, hint=None):
250
:param str hint: A hint that states why a constraint could have failed.
251
:return: isPrimaryKey self: A Check.scala object that asserts completion in the columns.
252
"""
253
+ # This relies on Py4J's implicit conversion from Seq to varargs:
254
columns_seq = to_scala_seq(self._jvm, columns)
255
hint = self._jvm.scala.Option.apply(hint)
256
self._Check = self._Check.isPrimaryKey(column, hint, columns_seq)
0 commit comments