flywheel.drone_login
Provides Drone-based login credentials
create_drone_client(host, secret, method, name, port=443, **kwargs)
Create a Client instance using drone credentials.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
host | str | The hostname of the flywheel instance | required |
secret | str | The drone secret | required |
method | str | The method (device type) | required |
name | str | The name of the device | required |
port | int | The optional port (if not 443) | 443 |
kwargs | Additional arguments to pass to the created Client instance | {} |
Returns:
| Type | Description |
|---|---|
flywheel.Client | The authorized Client instance |