Skip to content
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

add prefect server services CLI commands #16706

Merged
merged 19 commits into from
Jan 14, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
rm unused type
zzstoatzz committed Jan 14, 2025
commit 12f45a5f849c39110ecbc491a5b32950342656cc
9 changes: 0 additions & 9 deletions src/prefect/cli/server.py
Original file line number Diff line number Diff line change
@@ -15,7 +15,6 @@
import textwrap
from pathlib import Path
from types import ModuleType
from typing import NamedTuple

import anyio
import anyio.abc
@@ -512,14 +511,6 @@ async def stamp(revision: str):
exit_with_success("Stamping database with revision succeeded!")


class ServiceInfo(NamedTuple):
"""Information about a discovered service and its configuration."""

name: str
setting: "prefect.settings.Setting"
enabled: bool


def _get_service_settings() -> dict[str, "prefect.settings.Setting"]:
"""Get mapping of service names to their enabled/disabled settings."""
return {