Fix unused variable in train_model endpoint

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Aaron D. Lee 2026-04-03 13:49:50 -04:00
parent 0b82105179
commit 042aad08ec

View File

@ -225,7 +225,6 @@ def delete_pet(pet_id: str):
@pets_bp.route("/train", methods=["POST"]) @pets_bp.route("/train", methods=["POST"])
def train_model(): def train_model():
engine = _engine()
pets_cfg = current_app.config.get("PETS_CONFIG") pets_cfg = current_app.config.get("PETS_CONFIG")
if not pets_cfg: if not pets_cfg:
return jsonify({"error": "Pet detection not configured"}), 400 return jsonify({"error": "Pet detection not configured"}), 400