anki.importing.base
===================

.. py:module:: anki.importing.base


Classes
-------

.. autoapisummary::

   anki.importing.base.Importer


Module Contents
---------------

.. py:class:: Importer(col: anki.collection.Collection, file: str)

   .. py:attribute:: needMapper
      :value: False



   .. py:attribute:: needDelimiter
      :value: False



   .. py:attribute:: dst
      :type:  anki.collection.Collection | None


   .. py:attribute:: file


   .. py:attribute:: log
      :type:  list[str]
      :value: []



   .. py:attribute:: col


   .. py:attribute:: total
      :value: 0



   .. py:method:: run() -> None


   .. py:method:: open() -> None

      Open file and ensure it's in the right format.



   .. py:method:: close() -> None

      Closes the open file.



   .. py:method:: ts() -> Any


