code: def partition_key(self):
          
          try:
              return self._annotations[self._partition_key]
          except KeyError:
              return self._annotations.get(EventData.PROP_PARTITION_KEY, None)
docs: The partition key of the event data object.
  
          :rtype: bytes