def __init__(self, source_uri: str, artifact_type: Type[types.Artifact], reimport: Optional[bool]=False, properties: Optional[Dict[(str, Union[(str, int)])]]=None, custom_properties: Optional[Dict[(str, Union[(str, int)])]]=None):
    'Init function for the Importer.\n\n    Args:\n      source_uri: the URI of the resource that needs to be registered.\n      artifact_type: the type of the artifact to import.\n      reimport: whether or not to re-import as a new artifact if the URI has\n        been imported in before.\n      properties: Dictionary of properties for the imported Artifact. These\n        properties should be ones declared for the given artifact_type (see the\n        PROPERTIES attribute of the definition of the type for details).\n      custom_properties: Dictionary of custom properties for the imported\n        Artifact. These properties should be of type Text or int.\n    '
    self._source_uri = source_uri
    self._reimport = reimport
    artifact = artifact_type()
    _set_artifact_properties(artifact, properties, custom_properties)
    self._output_dict = {IMPORT_RESULT_KEY: types.Channel(type=artifact_type, additional_properties=properties, additional_custom_properties=custom_properties).set_artifacts([artifact])}
    super().__init__(driver_class=ImporterDriver)
Init function for the Importer.

Args:
  source_uri: the URI of the resource that needs to be registered.
  artifact_type: the type of the artifact to import.
  reimport: whether or not to re-import as a new artifact if the URI has
    been imported in before.
  properties: Dictionary of properties for the imported Artifact. These
    properties should be ones declared for the given artifact_type (see the
    PROPERTIES attribute of the definition of the type for details).
  custom_properties: Dictionary of custom properties for the imported
    Artifact. These properties should be of type Text or int.
def __init__(self, source_uri: str, artifact_type: Type[types.Artifact], reimport: Optional[bool]=False, properties: Optional[Dict[(str, Union[(str, int)])]]=None, custom_properties: Optional[Dict[(str, Union[(str, int)])]]=None):
    'Init function for the Importer.\n\n    Args:\n      source_uri: the URI of the resource that needs to be registered.\n      artifact_type: the type of the artifact to import.\n      reimport: whether or not to re-import as a new artifact if the URI has\n        been imported in before.\n      properties: Dictionary of properties for the imported Artifact. These\n        properties should be ones declared for the given artifact_type (see the\n        PROPERTIES attribute of the definition of the type for details).\n      custom_properties: Dictionary of custom properties for the imported\n        Artifact. These properties should be of type Text or int.\n    '
    self._source_uri = source_uri
    self._reimport = reimport
    artifact = artifact_type()
    _set_artifact_properties(artifact, properties, custom_properties)
    self._output_dict = {IMPORT_RESULT_KEY: types.Channel(type=artifact_type, additional_properties=properties, additional_custom_properties=custom_properties).set_artifacts([artifact])}
    super().__init__(driver_class=ImporterDriver)