:class:`~.InvalidSQLFormatError` ================================================================================================================================================================== .. py:exception:: astropathdb.logging.exceptions._database.InvalidSQLFormatError(sql, database = None) :single-line-parameter-list: Bases: :class:`~.AstroPathDatabaseError`, :class:`~.TypeError` Invalid SQL format error for CasJobs. :class:`~.astropathdb.logging.exceptions._database.InvalidSQLFormatError` *Attributes* ------------------------------------------------------------------------------------------------------------------------------------------------------------------ .. autoapisummary:: :signatures: none astropathdb.logging.exceptions._database.InvalidSQLFormatError.EXPECTED_SQL astropathdb.logging.exceptions._database.InvalidSQLFormatError.SAMPLE_ERROR astropathdb.logging.exceptions._database.InvalidSQLFormatError.ASTROPATH_ERROR astropathdb.logging.exceptions._database.InvalidSQLFormatError.DATABASE_ERROR astropathdb.logging.exceptions._database.InvalidSQLFormatError.ERROR_WHILE_EXEC :class:`~.astropathdb.logging.exceptions._database.InvalidSQLFormatError` *References* ------------------------------------------------------------------------------------------------------------------------------------------------------------------ .. py:currentmodule:: astropathdb.logging.exceptions._database.InvalidSQLFormatError *Attribute Reference* ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. py:attribute:: EXPECTED_SQL :type: ClassVar[str] :value: 'a string, an SQLAlchemy clause, or a sequence of those' .. py:attribute:: SAMPLE_ERROR :type: ClassVar[str] :value: ' [sampleid]:%r' .. py:attribute:: ASTROPATH_ERROR :type: ClassVar[str] :value: '[AstroPath]' .. py:attribute:: DATABASE_ERROR :type: ClassVar[str] :value: '[database]:%r' .. py:attribute:: ERROR_WHILE_EXEC :type: ClassVar[str] :value: 'Errors occurred while executing query in %s: %s.'