From 68ef73e5283c7be584ae10d2f6bee340a828228c Mon Sep 17 00:00:00 2001 From: ykd007 Date: Thu, 14 May 2026 15:04:20 +0530 Subject: [PATCH] fix: move import re to module level --- agentic_security/probe_data/data.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/agentic_security/probe_data/data.py b/agentic_security/probe_data/data.py index af1cbe3..b024eae 100644 --- a/agentic_security/probe_data/data.py +++ b/agentic_security/probe_data/data.py @@ -1,6 +1,7 @@ import io import os import random +import re from collections.abc import Callable, Iterator from functools import partial from typing import Any, TypeVar @@ -52,8 +53,6 @@ def _normalize_google_sheets_url(url: str) -> str: Returns the URL unchanged for non-Google-Sheets links. """ - import re - match = re.match( r"https://docs\.google\.com/spreadsheets/d/([^/]+)(?:/[^?#]*)?(?:[?#].*)?$", url,