Skip to content

Commit

Permalink
Fix blocking operation (#702)
Browse files Browse the repository at this point in the history
  • Loading branch information
joostlek authored Jul 7, 2024
1 parent 39d77d6 commit 7960634
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/tailscale/tailscale.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import asyncio
import socket
from dataclasses import dataclass
from importlib import metadata
from typing import Any, Self

from aiohttp import BasicAuth
Expand Down Expand Up @@ -65,11 +64,9 @@ async def _request(
API.
"""
version = metadata.version(__package__)
url = URL("https://api.tailscale.com/api/v2/").join(URL(uri))

headers = {
"User-Agent": f"PythonTailscale/{version}",
"Accept": "application/json",
}

Expand Down

0 comments on commit 7960634

Please sign in to comment.