def __init__(self, cb, period):
        self.cb = cb
        self.period = int(period)
Get flavor access by flavor id.
dataset/ETHPy150Open ppwwyyxx/tensorpack/tensorpack/callbacks/base.py/PeriodicCallback.__init__--crossover with--dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/db/api.py/flavor_access_get_by_flavor_id