KOSASIH / HealthGuard-Refugee-Initiative

f-string used without any expression PTC-W0027
Anti-pattern
Major
5 months ago5 months old
f-string used without any expression
 68    """
 69    # Make a POST request to the HealthGuard API to integrate the specified IoMT device
 70    response = requests.post(
 71        f"https://api.healthguard.com/devices", json={"id": device_id} 72    )
 73
 74    # Check if the request was successful