Policy.from_database(): read tables and columns from a live database
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 45/100
Hướng nghiên cứu
Start in src/sqlguardllm/introspect.py and tests/test_introspect.py, and check pyproject.toml for how the db extra is declared. Read #5 first, since this issue depends on it, and skim docs/DESIGN.md for how Policy builds tables and schema. Done when Policy.from_database honors include/exclude, passes other options through, has a passing SQLite test in CI, and the PostgreSQL, MySQL and SQL Server URL forms are documented.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Goal
Build an exact schema without writing it by hand.
Acceptance criteria
-
Policy.from_database(url, include=[...], exclude=[...], **options)using the SQLAlchemy inspector, in the optional extrasqlguardllm[db] - Fills
tablesandschema; other options are passed through - Tested against SQLite in CI; documented for PostgreSQL, MySQL and SQL Server URLs
Relevant files
src/sqlguardllm/introspect.pytests/test_introspect.pypyproject.toml
Size
S (up to half a day)
Notes
- Depends on: #5
- Milestone: v0.3 · More power
- Design: docs/DESIGN.md · threat model · attack gallery
- Ngôn ngữ chính
- Python
- Star
- 0
- Fork
- 0
- Merge trung bình
- 1 phút
- Pull request đã merge (30 ngày)
- 2
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của jmmana/sqlguardllm
-
area:security good first issue size:s type:feature
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 68/100
jmmana/sqlguardllm#16 ·
-
area:integrations size:s type:feature
Độ khó 4/5 Nửa ngày Mức phù hợp với người mới 25/100
jmmana/sqlguardllm#38 ·
-
area:security size:m type:infra
Độ khó 4/5 1-2 ngày Mức phù hợp với người mới 30/100
jmmana/sqlguardllm#37 ·
-
Official .NET client on NuGetĐang mởarea:integrations help wanted size:m type:feature
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 30/100
jmmana/sqlguardllm#36 ·
-
area:integrations help wanted size:m type:feature
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
jmmana/sqlguardllm#35 ·
Tất cả issue của jmmana/sqlguardllm
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug (unverified)
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
scikit-hep/awkward#4581 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
ci-cd priority: low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
LearningCircuit/local-deep-research#9163 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Specifically suppress IsEnoughWorkspace, instead of all MIopen warnings in denoiser/config.pyĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
supersonic-lumina/ENM156#50 ·
Maintainer thường phản hồi trong vòng 2 ngày