legate.core.context.Annotation.__init__#

Annotation.__init__(context: Context, pairs: dict[str, str]) None#

Constructs a new annotation object

Parameters:
  • context (Context) – Context to which the annotations should be added

  • pairs (dict[str, str]) – Annotations as key-value pairs