def _valid_code(seed, drift=0):
 return totp(key=seed, t=(int(time.time()) + (drift * 30)))

def _valid_code ( seed , drift = 0 ) : return totp ( key = seed , t = ( int ( time . time ( ) ) + ( drift * 30 ) ) )
generate a valid code .