Question

Not able to setup a extractor with the command "cogex init"

  • 18 April 2024
  • 0 replies
  • 14 views

Badge

Hello!

I tried to setup a simple cogex extractor, but get an error that is not letting me proceed following the course. Please help.

SyntaxWarning: invalid escape sequence '\e'
"""
csv_extractor_2/__main__.py:13: error: Argument "run_handle" to "Extractor" has
incompatible type
"Callable[[CogniteClient, AbstractStateStore, Config, Event], None]"; expected
"Callable[[CogniteClient, AbstractStateStore, Config, CancellationToken], None] | None"
[arg-type]
run_handle=run_extractor,
^~~~~~~~~~~~~
Found 1 error in 1 file (checked 4 source files)

 


0 replies

Be the first to reply!

Reply