Skip to content

Commit d1ffa8c

Browse files
authored
Merge pull request #79 from hugovk/main
Drop EOL Python 3.8-3.9
2 parents 0a81ce1 + c80f40d commit d1ffa8c

5 files changed

Lines changed: 12 additions & 14 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ We'd love to hear your feedback. Please [create an issue](https://github.com/Git
6767

6868
## Requirements
6969

70-
Python >= 3.9 or Docker
70+
Python >= 3.10 or Docker
7171

7272
## License
7373

pyproject.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ name = "seclab-taskflows"
77
dynamic = ["version"]
88
description = 'Example taskflows to use with the the GitHub Security Lab Taskflow Agent Framework (https://github.com/GitHubSecurityLab/seclab-taskflow-agent)'
99
readme = "README.md"
10-
requires-python = ">=3.9"
10+
requires-python = ">=3.10"
1111
license = "MIT"
1212
keywords = []
1313
authors = [
@@ -16,8 +16,6 @@ authors = [
1616
classifiers = [
1717
"Development Status :: 4 - Beta",
1818
"Programming Language :: Python",
19-
"Programming Language :: Python :: 3.8",
20-
"Programming Language :: Python :: 3.9",
2119
"Programming Language :: Python :: 3.10",
2220
"Programming Language :: Python :: 3.11",
2321
"Programming Language :: Python :: 3.12",

src/seclab_taskflows/mcp_servers/alert_results_models.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class AlertResults(Base):
2323
language: Mapped[str]
2424
location: Mapped[str]
2525
result: Mapped[str] = mapped_column(Text)
26-
created: Mapped[Optional[str]]
26+
created: Mapped[str | None]
2727
valid: Mapped[bool] = mapped_column(nullable=False, default=True)
2828
completed: Mapped[bool] = mapped_column(nullable=False, default=False)
2929

@@ -44,8 +44,8 @@ class AlertFlowGraph(Base):
4444
alert_canonical_id = Column(Integer, ForeignKey("alert_results.canonical_id", ondelete="CASCADE"))
4545
flow_data: Mapped[str] = mapped_column(Text)
4646
repo: Mapped[str]
47-
prev: Mapped[Optional[str]]
48-
next: Mapped[Optional[str]]
47+
prev: Mapped[str | None]
48+
next: Mapped[str | None]
4949
started: Mapped[bool] = mapped_column(nullable=False, default=False)
5050

5151
def __repr__(self):

src/seclab_taskflows/mcp_servers/codeql_python/codeql_sqlite_models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class Source(Base):
1818
source_location: Mapped[str]
1919
line: Mapped[int]
2020
source_type: Mapped[str]
21-
notes: Mapped[Optional[str]] = mapped_column(Text, nullable=True)
21+
notes: Mapped[str | None] = mapped_column(Text, nullable=True)
2222

2323
def __repr__(self):
2424
return (

src/seclab_taskflows/mcp_servers/ghsa_models.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ class GHSA(Base):
1616
ghsa_id: Mapped[str]
1717
repo: Mapped[str]
1818
severity: Mapped[str]
19-
cve_id: Mapped[Optional[str]] = mapped_column(nullable=True)
20-
description: Mapped[Optional[str]] = mapped_column(Text, nullable=True)
21-
summary: Mapped[Optional[str]] = mapped_column(Text, nullable=True)
22-
published_at: Mapped[Optional[str]] = mapped_column(nullable=True)
23-
state: Mapped[Optional[str]] = mapped_column(nullable=True)
19+
cve_id: Mapped[str | None] = mapped_column(nullable=True)
20+
description: Mapped[str | None] = mapped_column(Text, nullable=True)
21+
summary: Mapped[str | None] = mapped_column(Text, nullable=True)
22+
published_at: Mapped[str | None] = mapped_column(nullable=True)
23+
state: Mapped[str | None] = mapped_column(nullable=True)
2424

2525
def __repr__(self):
2626
return (
@@ -38,7 +38,7 @@ class GHSASummary(Base):
3838
high_severity_count: Mapped[int]
3939
medium_severity_count: Mapped[int]
4040
low_severity_count: Mapped[int]
41-
summary_notes: Mapped[Optional[str]] = mapped_column(Text, nullable=True)
41+
summary_notes: Mapped[str | None] = mapped_column(Text, nullable=True)
4242

4343
def __repr__(self):
4444
return (

0 commit comments

Comments
 (0)