diff --git a/changes/2954.feature.md b/changes/2954.feature.md new file mode 100644 index 0000000000..b08bf8469d --- /dev/null +++ b/changes/2954.feature.md @@ -0,0 +1 @@ +Allow `open_to_public` filter and order in endpoint. diff --git a/src/ai/backend/manager/models/endpoint.py b/src/ai/backend/manager/models/endpoint.py index faddd5dc6a..d22f7b0440 100644 --- a/src/ai/backend/manager/models/endpoint.py +++ b/src/ai/backend/manager/models/endpoint.py @@ -771,6 +771,7 @@ class Meta: "domain": ("endpoints_domain", None), "url": ("endpoints_url", None), "lifecycle_stage": (EnumFieldItem("endpoints_lifecycle_stage", EndpointLifecycle), None), + "open_to_public": ("endpoints_open_to_public", None), "created_user_email": ("users_email", None), } @@ -781,6 +782,7 @@ class Meta: "domain": ("endpoints_domain", None), "url": ("endpoints_url", None), "lifecycle_stage": (EnumFieldItem("endpoints_lifecycle_stage", EndpointLifecycle), None), + "open_to_public": ("endpoints_open_to_public", None), "created_user_email": ("users_email", None), }