def get_next_available_stream_id(self):
        # No streams have been opened yet, so return the lowest allowed stream
        # ID.
        if not self.highest_outbound_stream_id:
            return 1 if self.client_side else 2

        next_stream_id = self.highest_outbound_stream_id + 2
        if next_stream_id > self.HIGHEST_ALLOWED_STREAM_ID:
            raise NoAvailableStreamIDError("Exhausted allowed stream IDs")

        return next_stream_id
Returns the well formed PEP-440 version
dataset/ETHPy150Open python-hyper/hyper-h2/h2/connection.py/H2Connection.get_next_available_stream_id--crossover with--dataset/ETHPy150Open couchbase/couchbase-python-client/couchbase_version.py/VersionInfo.package_version