airflow_log_cleanup_workflow
module docs are invalid markdown
#4750
Labels
📄 aspect: text
Concerns the textual material in the repository
🛠 goal: fix
Bug fix
🟩 priority: low
Low priority and doesn't need to be rushed
🧱 stack: documentation
Related to Sphinx documentation
Description
The following two lines produce invalid markdown due to the angle brackets used to surround the type annotations:
openverse/catalog/dags/maintenance/airflow_log_cleanup_workflow.py
Lines 19 to 20 in 97dba8e
This causes an issue for e.g., prettier parsing the DAG docs file:
Changing these to use some other syntax to annotate the type would solve this. The angle bracket syntax isn't used anywhere else, and the types do not correspond to JSON types, which is the input format, nor exactly match Python type names, so I'm not sure if this is following some specific but unfamiliar to me syntax for annotation.
Fix
We can fix this by changing these to use parenthesis.
The text was updated successfully, but these errors were encountered: