Skip to content

Commit

Permalink
remove unknown change
Browse files Browse the repository at this point in the history
  • Loading branch information
lpereiracgn committed Dec 10, 2024
1 parent bb04cca commit a48b626
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cognite/client/utils/_concurrency.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ def uses_mainthread(cls) -> bool:
@classmethod
def get_executor(cls, max_workers: int) -> TaskExecutor:
if cls.uses_threadpool():
return cls.get_thread_pool_executor(max_workers) # type: ignore[return-value]
return cls.get_thread_pool_executor(max_workers)
elif cls.uses_mainthread():
return cls.get_mainthread_executor()
raise RuntimeError(f"Invalid executor type '{cls.executor_type}'")
Expand Down

0 comments on commit a48b626

Please sign in to comment.