import cherrypy
import itertools


class BookingReferenceService:

    def __init__(self, starting_point):
        self.counter = itertools.count(int(str(starting_point), 16) + 1)

    @cherrypy.expose()
    def booking_reference(self):
        next_number = next(self.counter)
        return str(hex(next_number))[2:]

eb3132872e861b9edddfd775b6439207c4eaad36
<mask token>


class BookingReferenceService:
    <mask token>
    <mask token>

<mask token>


class BookingReferenceService:
    <mask token>

    @cherrypy.expose()
    def booking_reference(self):
        next_number = next(self.counter)
        return str(hex(next_number))[2:]

<mask token>


class BookingReferenceService:

    def __init__(self, starting_point):
        self.counter = itertools.count(int(str(starting_point), 16) + 1)

    @cherrypy.expose()
    def booking_reference(self):
        next_number = next(self.counter)
        return str(hex(next_number))[2:]

import cherrypy
import itertools


class BookingReferenceService:

    def __init__(self, starting_point):
        self.counter = itertools.count(int(str(starting_point), 16) + 1)

    @cherrypy.expose()
    def booking_reference(self):
        next_number = next(self.counter)
        return str(hex(next_number))[2:]
