You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is entry point of SDK and it would be nice if it was nicely structured. Having too many methods on such "mega class" makes it harder to understand and use. Refactor this class and move it's methods into components, so that user can use SDK through logically structured groups of functionality.
The text was updated successfully, but these errors were encountered:
Pijukatel
added
debt
Code quality improvement or decrease of technical debt.
t-tooling
Issues with this label are in the ownership of the tooling team.
labels
Nov 18, 2024
_ActorType aliased as Actor is very big class with many methods.
https://github.com/apify/apify-sdk-python/blob/master/src/apify/_actor.py#L42
It is entry point of SDK and it would be nice if it was nicely structured. Having too many methods on such "mega class" makes it harder to understand and use. Refactor this class and move it's methods into components, so that user can use SDK through logically structured groups of functionality.
Generic example:
Instead of:
actor.some_function_to_handle_inputs
actor.other_function_to_handle_inputs
it should be:
actor.inputs.some_function_to_handle_inputs
actor.inputs.other_function_to_handle_inputs
#326 (comment)
The text was updated successfully, but these errors were encountered: