Skip to content

Conversation

@Michaelvll
Copy link
Collaborator

Summary

This PR exposes the endpoints function from sky/client/sdk.py through the public API as sky.endpoints.

Changes

  • Added import of endpoints from sky.client.sdk in sky/__init__.py
  • Added 'endpoints' to the __all__ list to make it part of the public API

Usage

Users can now directly use:

import sky
endpoints = sky.endpoints(cluster='my-cluster', port=8080)

This provides a convenient way to retrieve cluster endpoints for specified ports.

This commit adds the endpoints function from sky/client/sdk.py to the public API,
making it accessible via sky.endpoints(). This allows users to easily retrieve
cluster endpoints for given ports.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@SeungjinYang SeungjinYang merged commit d435522 into master Aug 12, 2025
15 checks passed
@SeungjinYang SeungjinYang deleted the expose-endpoints-api branch August 12, 2025 19:09
massaindustries pushed a commit to Seeweb/skypilot that referenced this pull request Aug 26, 2025
This commit adds the endpoints function from sky/client/sdk.py to the public API,
making it accessible via sky.endpoints(). This allows users to easily retrieve
cluster endpoints for given ports.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-authored-by: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants