Skip to content

Affiliation

Part of Entities in the Python API reference.

Related guidance: concepts/entities, quickstarts/sensor-publisher, how-to/pli-entities, how-to/tracks-detections.

Runnable examples: publish_entity.py, watch_detections.py, watch_tracks.py.

from picogrid_ecn_client import Affiliation

Classify an entity’s relationship to the reporting party.

class Affiliation(Enum): ...

Source · models/common.py

NameValue
FRIEND‘FRIEND’
HOSTILE‘HOSTILE’
NEUTRAL‘NEUTRAL’
UNKNOWN‘UNKNOWN’
SUSPECT‘SUSPECT’
PENDING‘PENDING’
ASSUMED_FRIEND‘ASSUMED_FRIEND’
EXERCISE_PENDING‘EXERCISE_PENDING’
EXERCISE_UNKNOWN‘EXERCISE_UNKNOWN’
EXERCISE_FRIEND‘EXERCISE_FRIEND’
EXERCISE_NEUTRAL‘EXERCISE_NEUTRAL’
EXERCISE_ASSUMED_FRIEND‘EXERCISE_ASSUMED_FRIEND’
JOKER‘JOKER’
FAKER‘FAKER’
NONE_SPECIFIED‘NONE_SPECIFIED’

Version 0.2.0 · branch main