python-tailscale
python-tailscale copied to clipboard
Asynchronous client for the Tailscale API.
# Proposed Changes Adds missing fields from the API: - not optional - clientConnectivity/latency - connected_to_control (supersedes #1233) - node_id (supersedes #1187, preserves author, makes field non-optional) - tailnet_lock_key -...
### Proposed Changes Added a new field `node_id` to the Device model to extend data representation.
# Proposed Changes In mashumaro we have to add default values to fields that can be missing (see https://github.com/Fatal1ty/mashumaro/issues/283#issuecomment-2832041685) As I see there were issues in the past, when TS...
There is some weird behavior (#1262) where the client expects a dict and the API is now (?) returning a list, as well as mismatched property casing (snake `hair_pinning` vs....
It was removed upstream as it's never been used and hasn't been populated in the past year. Updates #1262
Exception: ``` mashumaro.exceptions.InvalidFieldValue: Field "devices" of type dict[str, Device] in Devices has invalid value {'...': {..., 'clientSupports': {'ipv6': False, 'pcp': False, 'pmp': False, 'udp': True, 'upnp': False}}, ... } ```...
# Proposed Changes Implementing basic oauth support. Allows for passing an oauth client id and secret to the `Tailscale` class. Checkout [tailscale's docs](https://tailscale.com/kb/1215/oauth-clients) for more information ## Related Issues Add...