code: def create_session(self, session_request, protocol):
          
          route_values = {}
          if protocol is not None:
              route_values['protocol'] = self._serialize.url('protocol', protocol, 'str')
          content = self._serialize.body(session_request, 'SessionRequest')
          response = self._send(http_method='POST',
                                location_id='503b4e54-ebf4-4d04-8eee-21c00823c2ac',
                                version='5.0-preview.1',
                                route_values=route_values,
                                content=content)
          return self._deserialize('SessionResponse', response)
docs: CreateSession.
          [Preview API] Creates a session, a wrapper around a feed that can store additional metadata on the packages published to it.
          :param :class:`<SessionRequest> <azure.devops.v5_0.provenance.models.SessionRequest>` session_request: The feed and metadata for the session
          :param str protocol: The protocol that the session will target
          :rtype: :class:`<SessionResponse> <azure.devops.v5_0.provenance.models.SessionResponse>`