Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor by removing existing_files check before query_result in get.py #537

Open
2 tasks done
axif0 opened this issue Dec 29, 2024 · 7 comments
Open
2 tasks done
Assignees
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed

Comments

@axif0
Copy link
Collaborator

axif0 commented Dec 29, 2024

Terms

Behavior

Existing files check already done in line of query_result function. We can reconsider by ignoring the check before calling the query_result method. Which is more convenient.

Contribution

Happy to review a PR when one's open and support with answers to any questions! 😊

@axif0 axif0 added the bug Something isn't working label Dec 29, 2024
@andrewtavis andrewtavis added help wanted Extra attention is needed good first issue Good for newcomers labels Dec 29, 2024
@andrewtavis
Copy link
Member

@harikrishnatp, do you want to write in here so we can assign you? :)

@harikrishnatp
Copy link
Contributor

Sure @andrewtavis, I'll take this up!

@andrewtavis
Copy link
Member

Thanks for assigning, @axif0! Let us know if you need any support, @harikrishnatp :)

@harikrishnatp
Copy link
Contributor

@andrewtavis , @axif0 I'm currently in the middle of my end-semester exams, so I might not be very active for a while. Once my exams are over, I’ll be sure to ramp up my contributions again!

@andrewtavis
Copy link
Member

Sounds good, @harikrishnatp! Good luck with exams! 🚀

@axif0
Copy link
Collaborator Author

axif0 commented Jan 5, 2025

Here is an idea we can work on,
I found there are some duplicate existing_files checking. Like in-

For query Wikidata

Parsing Wikidata lexeme dumps

I believe to clean code and more efficiency, we can extend the functionality of the check_index_exists method as such it can check if queried JSON file exists or not. And we can just call the method then.

Does this make sense? @harikrishnatp @andrewtavis

@andrewtavis
Copy link
Member

Makes total sense to me, @axif0! Thanks for looking in to this 😊 So maybe @harikrishnatp can work on this as well and you can do the first review?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed
Projects
Status: Todo
Development

No branches or pull requests

3 participants