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 operator class into module #1564

Merged
merged 5 commits into from Feb 29, 2024
Merged

Refactor operator class into module #1564

merged 5 commits into from Feb 29, 2024

Conversation

ikreymer
Copy link
Member

The operator class has gotten fairly large, this is a first pass in refactoring operator.py into a submodule instead, with multiple operator instances which handle different types of objects.

The CrawlOperator is still the bulk of the functionality, but will soon be further refactored to also support QAJob objects

Copy link
Contributor

@tw4l tw4l left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice! Seems to be working well, tested manual and scheduled crawls as well as profiles locally.

backend/btrixcloud/operator/__init__.py Outdated Show resolved Hide resolved
Co-authored-by: Tessa Walsh <tessa@bitarchivist.net>
@ikreymer ikreymer merged commit 2ac6584 into main Feb 29, 2024
4 checks passed
@ikreymer ikreymer deleted the refactor-operator branch February 29, 2024 22:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants