Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
artem-shelkovnikov committed Dec 13, 2024
1 parent 38c2fdb commit 6db8256
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
6 changes: 6 additions & 0 deletions connectors/es/sink.py
Original file line number Diff line number Diff line change
Expand Up @@ -973,6 +973,12 @@ async def async_bulk(
- content_extraction_enabled: if enabled, will download content -- default: `True`
- options: dict of options (from `elasticsearch.bulk` in the config file)
"""

index_def = await self.es_management_client.get_index_or_alias(index)
self._logger.warning("MAPPINGS FOR CONTENT INDEX");
self._logger.warning(index_def)


if self._extractor_task is not None or self._sink_task is not None:
msg = "Async bulk task has already started."
raise AsyncBulkRunningError(msg)
Expand Down
5 changes: 5 additions & 0 deletions tests/sources/fixtures/network_drive/fixture.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ def generate_folder():
)







def generate_files():
"""Method for generating files on Network Drive server"""
try:
Expand Down

0 comments on commit 6db8256

Please sign in to comment.