code: def create_release(self, release_start_metadata, project):
          
          route_values = {}
          if project is not None:
              route_values['project'] = self._serialize.url('project', project, 'str')
          content = self._serialize.body(release_start_metadata, 'ReleaseStartMetadata')
          response = self._send(http_method='POST',
                                location_id='a166fde7-27ad-408e-ba75-703c2cc9d500',
                                version='5.0',
                                route_values=route_values,
                                content=content)
          return self._deserialize('Release', response)
docs: CreateRelease.
          Create a release.
          :param :class:`<ReleaseStartMetadata> <azure.devops.v5_0.release.models.ReleaseStartMetadata>` release_start_metadata: Metadata to create a release.
          :param str project: Project ID or project name
          :rtype: :class:`<Release> <azure.devops.v5_0.release.models.Release>`