-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Remove Infrastructure
, BlockWorker
from main
#13430
Conversation
@@ -130,7 +128,7 @@ class ACRManagedIdentity(BaseModel): | |||
) | |||
|
|||
|
|||
class AzureContainerInstanceJobResult(InfrastructureResult): | |||
class AzureContainerInstanceJobResult: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this class still used somewhere? I think it can be removed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, the worker return type /type hints
@@ -390,5 +388,5 @@ def get( | |||
) | |||
|
|||
|
|||
class CloudRunJobV2Result(InfrastructureResult): | |||
class CloudRunJobV2Result: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this class can also be removed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is a type hint for return type for CloudRunWorkerV2
. Removing the type hints ok?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm just merging this for now to unblock another PR but happy to remove these after if so!
Closes #13362
Removes
prefect.infrastructure.base
module and references. Also removes theBlockWorker
.Important Note
Infrastructure will be included with 2.x releases, but will not be included in the 3.0 release.