Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

janbuchar
Copy link
Contributor

…re also accessible through the global Actor proxy after initialization
@janbuchar janbuchar added the t-tooling Issues with this label are in the ownership of the tooling team. label Feb 13, 2025
@github-actions github-actions bot added this to the 108th sprint - Tooling team milestone Feb 13, 2025
@github-actions github-actions bot added the tested Temporary label used only programatically for some analytics. label Feb 13, 2025
Copy link
Contributor

@vdusek vdusek left a comment

Choose a reason for hiding this comment

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

Ok, I tested it out, now the Actor() works for Scrapy Actors, which is great.

But the Actor.__init__ is still being called twice, am I correct?

@janbuchar
Copy link
Contributor Author

Ok, I tested it out, now the Actor() works for Scrapy Actors, which is great.

🎉

But the Actor.__init__ is still being called twice, am I correct?

That much is correct. Avoiding that would be tricky, though I'm sure it's doable. Yet, I was under the impression that it was not really a problem.

Copy link
Contributor

@vdusek vdusek left a comment

Choose a reason for hiding this comment

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

Thanks, LGTM in that case

@janbuchar janbuchar merged commit b956a02 into master Feb 13, 2025
27 checks passed
@janbuchar janbuchar deleted the better-actor-proxy branch February 13, 2025 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
t-tooling Issues with this label are in the ownership of the tooling team. tested Temporary label used only programatically for some analytics.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Constructor _ActorType.__init__ is being executed twice
2 participants