#NEWLINE# def check_data_query_args( data_query_time , data_query_tz ) : #NEWLINE# #INDENT# 'Checks the data_query_time and data_query_tz arguments for loaders\n    and raises a standard exception if one is None and the other is not.\n\n    Parameters\n    ----------\n    data_query_time : datetime.time or None\n    data_query_tz : tzinfo or None\n\n    Raises\n    ------\n    ValueError\n        Raised when only one of the arguments is None.\n    ' #NEWLINE# if ( ( data_query_time is None ) ^ ( data_query_time is None ) ) : #NEWLINE# #INDENT# 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 ) ) )