remove file_info_map which was unused
This commit is contained in:
parent
0b4607b5a3
commit
53289fe789
1 changed files with 0 additions and 18 deletions
|
|
@ -245,15 +245,6 @@ class ConnectorFileProcessor(TaskProcessor):
|
||||||
self.jwt_token = jwt_token
|
self.jwt_token = jwt_token
|
||||||
self.owner_name = owner_name
|
self.owner_name = owner_name
|
||||||
self.owner_email = owner_email
|
self.owner_email = owner_email
|
||||||
# Create lookup map for file info - handle both file objects and file IDs
|
|
||||||
self.file_info_map = {}
|
|
||||||
for f in files_to_process:
|
|
||||||
if isinstance(f, dict):
|
|
||||||
# Full file info objects
|
|
||||||
self.file_info_map[f["id"]] = f
|
|
||||||
else:
|
|
||||||
# Just file IDs - will need to fetch metadata during processing
|
|
||||||
self.file_info_map[f] = None
|
|
||||||
|
|
||||||
async def process_item(
|
async def process_item(
|
||||||
self, upload_task: UploadTask, item: str, file_task: FileTask
|
self, upload_task: UploadTask, item: str, file_task: FileTask
|
||||||
|
|
@ -352,15 +343,6 @@ class LangflowConnectorFileProcessor(TaskProcessor):
|
||||||
self.jwt_token = jwt_token
|
self.jwt_token = jwt_token
|
||||||
self.owner_name = owner_name
|
self.owner_name = owner_name
|
||||||
self.owner_email = owner_email
|
self.owner_email = owner_email
|
||||||
# Create lookup map for file info - handle both file objects and file IDs
|
|
||||||
self.file_info_map = {}
|
|
||||||
for f in files_to_process:
|
|
||||||
if isinstance(f, dict):
|
|
||||||
# Full file info objects
|
|
||||||
self.file_info_map[f["id"]] = f
|
|
||||||
else:
|
|
||||||
# Just file IDs - will need to fetch metadata during processing
|
|
||||||
self.file_info_map[f] = None
|
|
||||||
|
|
||||||
async def process_item(
|
async def process_item(
|
||||||
self, upload_task: UploadTask, item: str, file_task: FileTask
|
self, upload_task: UploadTask, item: str, file_task: FileTask
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue