Skip to content

v.0.3.4

Compare
Choose a tag to compare
@elnygren elnygren released this 21 Jun 09:25

Support avoid_host and login_user features of UpCloud's Servers API.

from upcloud_api.server import Server, login_user_block

Server.avoid_host = <host_id>
Server.login_user = login_user_block(username : String, ssh_keys : List[String], create_password : Bool)

Note: username is optional (defaults to root in API)

Improve Server.get_public_ip(self, addr_family='IPv4', strict=False)

ec16d0c