Framework for Python

Cloud

cloud_status()

Report the server in use and whether this machine is connected to it.

The server, where that setting came from, and the account are printed. When the project publishes to a different server, that server is printed too.

Usage

cloud_status(url: str | None = None) -> bool

Arguments

Name Type Default Description
url str | None None

The server. Default: FW_CLOUD_URL, then your saved default, then https://framework.pub.

Value

True when a token is stored and the server accepts it. False when no token is stored, the server is unreachable, or the token is invalid.