Configure predicates with `gremlin.scala.P`
masterWhen using predicates (like within, gte, etc.), always use import gremlin.scala._ to ensure you are using the Gremlin-Scala wrapper P rather than the raw Tinkerpop org.apache.tinkerpop.gremlin.process.traversal.P.
This is critical when working with collection types to avoid calling the wrong Java overload (e.g., checking if a value is a set instead of checking if a value is within a set).
import gremlin.scala._
// Correct: uses Gremlin-Scala's P
g.V.has("name", P.within(Set("a", "b")))