Closed MrIbrahem closed 10 months ago
f483cb01ff
)[!TIP] I'll email you at ibrahem.al-radaei@outlook.com when I complete this pull request!
The sandbox appears to be unavailable or down.
I found the following snippets in your repository. I will now analyze these snippets and come up with a plan.
generate_readme.py
✓ https://github.com/MrIbrahem/WikiData-Dumps/commit/639d837efbf915b53e0fbebc0c5a5c4ff421e46d Edit
Create generate_readme.py with contents:
• Create a new Python script named generate_readme.py at the root of the repository.
• Import the necessary functions from the existing scripts in the "claims" and "labels" packages. Specifically, import the read_file function from both read_dump.py scripts, the make_text function from do_text.py, and the make_old_values function from labels_old_values.py.
• Define a new function named generate_readme that will generate the README file in markdown format. This function should first call the read_file functions to read the files in the "claims" and "labels" packages. Then, it should call the make_text and make_old_values functions to generate the sections of text for the README file.
• Write the generated text to a new README.md file at the root of the repository.
I have finished reviewing the code for completeness. I did not find errors for sweep/read_the_files_in_the_claims_and_labels
.
💡 To recreate the pull request edit the issue title or description. To tweak the pull request, leave a comment on the pull request. Join Our Discord
Details
read the files in the "claims" and "labels" package and generate README in the markdown format.
Checklist
- [X] Create `generate_readme.py` ✓ https://github.com/MrIbrahem/WikiData-Dumps/commit/639d837efbf915b53e0fbebc0c5a5c4ff421e46d [Edit](https://github.com/MrIbrahem/WikiData-Dumps/edit/sweep/read_the_files_in_the_claims_and_labels/generate_readme.py)