Files
redux-scraper/app/jobs/domain/e621/job/base.rb
Dylan Knutson 48337c08bc Enhance strict typing and refactor job classes in FA and Inkbunny domains
- Updated job classes in the FA and Inkbunny domains to enforce strict typing with Sorbet, including the addition of type signatures in various job classes.
- Refactored initialization methods to improve argument handling and ensure proper type management.
- Enhanced error handling and logging mechanisms across job classes for better traceability.
- Improved job argument handling, including the introduction of `first_log_entry` and `causing_log_entry` for better context in job processing.
- Streamlined the processing of API responses and improved the management of user and post data.

These changes aim to enhance type safety, maintainability, and robustness of the job processing logic.
2025-01-02 03:55:02 +00:00

8 lines
167 B
Ruby

# typed: strict
class Domain::E621::Job::Base < Scraper::JobBase
sig { override.returns(Symbol) }
def self.http_factory_method
:get_e621_http_client
end
end