def check_data_query_args(data_query_time, data_query_tz):
 if ((data_query_time is None) ^ (data_query_tz is None)):
  raise ValueError(("either 'data_query_time' and 'data_query_tz' must both be None or neither may be None (got %r, %r)" % (data_query_time, data_query_tz)))

def check_data_query_args ( data_query_time , data_query_tz ) : if ( ( data_query_time is None ) ^ ( data_query_tz is None ) ) : raise ValueError ( ( "either 'data_query_time' and 'data_query_tz' must both be None or neither may be None (got %r, %r)" % ( data_query_time , data_query_tz ) ) )
checks the data_query_time and data_query_tz arguments for loaders and raises a standard exception if one is none and the other is not .