Edit your profile fields.
()
| 10905 | if _rate_limit_hit("weather_forecast", _client_ip() or "?", limit=60, window_sec=60): |
| 10906 | return jsonify({"ok": False, "error": "rate_limited"}), 429 |
| 10907 | payload = request.get_json(silent=True) or {} |
| 10908 | try: |
| 10909 | latitude = float(payload.get("latitude")) |
| 10910 | longitude = float(payload.get("longitude")) |
| 10911 | except Exception: |
| 10912 | return jsonify({"ok": False, "error": "invalid_coordinates"}), 400 |
nothing calls this directly
no outgoing calls
no test coverage detected