CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-apache-airflow-providers-ftp

Provider package for Apache Airflow that enables FTP file transfer protocol operations including hooks, operators, and sensors for workflow integration.

84

1.06x
Quality

Pending

Does it follow best practices?

Impact

84%

1.06x

Average score across 10 eval scenarios

SecuritybySnyk

Pending

The risk profile of this skill

Overview
Eval results
Files

criteria.jsonevals/scenario-5/

{
  "context": "This criteria evaluates how well the engineer uses the apache-airflow-providers-ftp package to retrieve file metadata (modification time and size) from an FTP server. The focus is on correct usage of FTPHook and its specific methods for file inspection operations.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "FTPHook Import",
      "description": "Correctly imports FTPHook from airflow.providers.ftp.hooks.ftp",
      "max_score": 10
    },
    {
      "name": "FTPHook Initialization",
      "description": "Properly instantiates FTPHook with the ftp_conn_id parameter in both functions",
      "max_score": 15
    },
    {
      "name": "get_mod_time() Usage",
      "description": "Correctly uses FTPHook.get_mod_time() method with the remote file path to retrieve modification timestamp in the get_file_modification_time function",
      "max_score": 30
    },
    {
      "name": "get_size() Usage",
      "description": "Correctly uses FTPHook.get_size() method with the remote file path to retrieve file size in the get_file_size function",
      "max_score": 30
    },
    {
      "name": "Return Type Handling",
      "description": "Properly handles the return types: datetime object from get_mod_time() and Optional[int] from get_size() (which may return None)",
      "max_score": 15
    }
  ]
}

tile.json