EOX GitLab Instance

implemented generators for better data streaming

1 job for streaming_data in 42 seconds (queued for 4 seconds)
Name Stage Failure
failed
test Test
$ mypy .
harvester/source/swift.py:7: error: Return type "List[Any]" of "harvest" incompatible with return type "Generator[Dict[Any, Any], None, None]" in supertype "Resource"
harvester/source/stac_catalog.py:7: error: Return type "List[Any]" of "harvest" incompatible with return type "Generator[Dict[Any, Any], None, None]" in supertype "Resource"
harvester/source/ftp.py:7: error: Return type "List[Any]" of "harvest" incompatible with return type "Generator[Dict[Any, Any], None, None]" in supertype "Resource"
harvester/endpoint/ogcapi.py:7: error: Return type "List[Any]" of "harvest" incompatible with return type "Generator[Dict[Any, Any], None, None]" in supertype "Resource"
harvester/endpoint/oads.py:7: error: Return type "List[Any]" of "harvest" incompatible with return type "Generator[Dict[Any, Any], None, None]" in supertype "Resource"
Found 5 errors in 5 files (checked 23 source files)
Cleaning up file based variables
ERROR: Job failed: exit code 1