code: def share(self, data, mime=None, time=None):
          
          evt = self.share_async(data, mime=mime, time=time)
          self._client._wait_and_except_if_failed(evt)
docs: Share some data from this Feed
  
          Raises [IOTException](./Exceptions.m.html#IoticAgent.IOT.Exceptions.IOTException)
          containing the error if the infrastructure detects a problem
  
          Raises [LinkException](../Core/AmqpLink.m.html#IoticAgent.Core.AmqpLink.LinkException)
          if there is a communications problem between you and the infrastructure
  
          `data` (mandatory) (as applicable) The data you want to share
  
          `mime` (optional) (string) The mime type of the data you're sharing.  There are some
          Iotic Labs-defined default values:
  
          `"idx/1"` - Corresponds to "application/ubjson" - the recommended way to send mixed data.
          Share a python dictionary as the data and the agent will to the encoding and decoding for you.
  
              #!python
              data = {}
              data["temperature"] = self._convert_to_celsius(ADC.read(1))
              # ...etc...
              my_feed.share(data)
  
          `"idx/2"` Corresponds to "text/plain" - the recommended way to send textual data.
          Share a utf8 string as data and the agent will pass it on, unchanged.
  
              #!python
              my_feed.share(u"string data")
  
          `"text/xml"` or any other valid mime type.  To show the recipients that
           you're sending something more than just bytes
  
              #!python
              my_feed.share("<xml>...</xml>".encode('utf8'), mime="text/xml")
  
          `time` (optional) (datetime) UTC time for this share. If not specified, the container's time will be used. Thus
          it makes almost no sense to specify `datetime.utcnow()` here. This parameter can be used to indicate that the
          share time does not correspond to the time to which the data applies, e.g. to populate recent storgage with
          historical data.