Skip to content

Commit

Permalink
Merge pull request #331 from PrefectHQ/fix-typo
Browse files Browse the repository at this point in the history
Fix typo causing issues in `prefect` pre-commit checks
  • Loading branch information
serinamarie authored Jan 5, 2024
2 parents 35d0a3f + 491f790 commit 9bea285
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/generate_worker_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def get_worker_metadata_from_prefect():
"install_command": "pip install prefect",
"default_base_job_configuration": {},
"description": (
"Execute flow runs on heterogenous infrastructure using infrastructure"
"Execute flow runs on heterogeneous infrastructure using infrastructure"
" blocks."
),
}
Expand All @@ -80,7 +80,11 @@ def get_worker_metadata_from_prefect():
worker_subcls=worker_subcls, package_name="prefect"
)
for worker_subcls in worker_registry.values()
if to_qualified_name(worker_subcls).startswith("prefect.")
if (
to_qualified_name(worker_subcls).startswith("prefect.")
and worker_subcls.__name__ not in WORKERS_BLOCKLIST
)

}

output.update(metadata)
Expand Down

0 comments on commit 9bea285

Please sign in to comment.