◆ __init__()
def pipeline-python.fiftyone_pipeline_engines_fiftyone.fiftyone_pipeline_engines_fiftyone.share_usage_evidencekeyfilter.ShareUsageEvidenceKeyFilter.__init__ | ( | self, | |
cookie = None ,
|
|||
query_whitelist = [] ,
|
|||
header_blacklist = []
|
|||
) |
Constructor for ShareUsageEvidenceKeyFilter @type cookie: string.
- Parameters
-
- cookie - which cookie is used to track evidence @type query_whitelist: list
- query_whitelist - list of query string whitelist evidence to keep @type query_blacklist: list
- query_blacklist - list of header evidence to exclude @type
- -
Member Function Documentation
◆ filter_evidence_key()
def pipeline-python.fiftyone_pipeline_engines_fiftyone.fiftyone_pipeline_engines_fiftyone.share_usage_evidencekeyfilter.ShareUsageEvidenceKeyFilter.filter_evidence_key ( self, key ) Check if a specific key should be filtered.
@type key: string
- Parameters
-
- key - to check in the filter
@rtype: bool
- Returns
- : Is this key in the filter's keys list?