File tree Expand file tree Collapse file tree
src/seclab_taskflows/mcp_servers Expand file tree Collapse file tree Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ name = "seclab-taskflows"
77dynamic = [" version" ]
88description = ' Example taskflows to use with the the GitHub Security Lab Taskflow Agent Framework (https://github.com/GitHubSecurityLab/seclab-taskflow-agent)'
99readme = " README.md"
10- requires-python = " >=3.9 "
10+ requires-python = " >=3.10 "
1111license = " MIT"
1212keywords = []
1313authors = [
@@ -16,8 +16,6 @@ authors = [
1616classifiers = [
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" ,
Original file line number Diff line number Diff 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 ):
Original file line number Diff line number Diff 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 (
Original file line number Diff line number Diff 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 (
You can’t perform that action at this time.
0 commit comments