Lens¶
LensView¶
-
class
grapl_analyzerlib.nodes.lens.
LensView
(*args, **kwds)¶ Predicate
Type
Description
node_key
string
A unique identifier for this node.
lens
string
The name of the lens this node represents.
scope
List[EntityView]
todo: documentation
-
get_lens_name
(cached=True) → Optional[str]¶
-
static
get_or_create
(gclient: grapl_analyzerlib.grapl_client.GraphClient, lens_name: str, lens_type: str) → grapl_analyzerlib.nodes.lens.LensView¶
-
get_scope
(*scope, cached=False)¶
-
classmethod
node_schema
() → Schema¶
-
LensQuery¶
-
class
grapl_analyzerlib.nodes.lens.
LensQuery
(*args, **kwds)¶ -
classmethod
node_schema
() → grapl_analyzerlib.schema.Schema¶
-
with_lens_name
(eq: str) → grapl_analyzerlib.nodes.lens.LensQuery¶
-
with_lens_type
(eq: str) → grapl_analyzerlib.nodes.lens.LensQuery¶
-
with_scope
(*scope) → grapl_analyzerlib.nodes.lens.LensQuery¶
-
classmethod