Skip to content

Commit

Permalink
Added comment
Browse files Browse the repository at this point in the history
  • Loading branch information
romain-intel committed Oct 16, 2024
1 parent d809683 commit bf6aac8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion metaflow/runner/deployer.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,9 @@ def run(self) -> Optional["metaflow.Run"]:
class DeployedFlowMeta(type):
def __new__(mcs, name, bases, dct):
cls = super().__new__(mcs, name, bases, dct)
if "from_deployment" not in dct:
if not bases:
# Inject methods only in DeployedFlow and not any of its
# subclasses
from metaflow.plugins import DEPLOYER_IMPL_PROVIDERS

allowed_providers = dict(
Expand Down

0 comments on commit bf6aac8

Please sign in to comment.