if not isinstance(file_path, six.string_types):
logger.error('Input file path is not of type string')
raise AssertionError('Input file path is not of type string')
Update the error string with the input file path.
In the following code in load_object function,
if not isinstance(file_path, six.string_types):
logger.error('Input file path is not of type string')
raise AssertionError('Input file path is not of type string')
Update the error string with the input file path.
In the following code in load_table function,
if not isinstance(data_frame, pd.DataFrame):
logging.error('Input object is not of type pandas DataFrame')
raise AssertionError('Input object is not of type pandas DataFrame')
Update the error string with the type of input data frame.
In the following code in save_table,
if not isinstance(metadata_ext, six.string_types):
logger.error('Input metadata ext is not of type string')
raise AssertionError('Input metadata ext is not of type string')
Update the error string with the input metadata extension.
In the following code in load_table,
if not isinstance(file_path, six.string_types):
logger.error('Input file path is not of type string')
raise AssertionError('Input file path is not of type string')
Update the error string with input file path
In the following code in load_table
if not isinstance(metadata_ext, six.string_types):
logger.error('Input metadata ext is not of type string')
raise AssertionError('Input metadata ext is not of type string')
if not isinstance(file_path, six.string_types): logger.error('Input file path is not of type string') raise AssertionError('Input file path is not of type string')
Update the error string with the input file path.
Update the error string with the input file path.
In the following code in load_table function,
if not isinstance(data_frame, pd.DataFrame): logging.error('Input object is not of type pandas DataFrame') raise AssertionError('Input object is not of type pandas DataFrame')
Update the error string with the type of input data frame.
In the following code in save_table,
if not isinstance(metadata_ext, six.string_types): logger.error('Input metadata ext is not of type string') raise AssertionError('Input metadata ext is not of type string')
Update the error string with the input metadata extension.
In the following code in load_table,
if not isinstance(file_path, six.string_types): logger.error('Input file path is not of type string') raise AssertionError('Input file path is not of type string')
Update the error string with input file path
In the following code in load_table
if not isinstance(metadata_ext, six.string_types): logger.error('Input metadata ext is not of type string') raise AssertionError('Input metadata ext is not of type string')
Update the error string with metadata ext.