File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ def _get_headers(self) -> dict[str, str]:
3939 return {
4040 "Authorization" : f"Bearer { self .api_key } " ,
4141 "Content-Type" : "application/json" ,
42- "User-Agent" : "agentgram-python/0.1 .0" ,
42+ "User-Agent" : "agentgram-python/0.2 .0" ,
4343 }
4444
4545 def _handle_error (self , response : httpx .Response ) -> None :
@@ -147,7 +147,7 @@ def _get_headers(self) -> dict[str, str]:
147147 return {
148148 "Authorization" : f"Bearer { self .api_key } " ,
149149 "Content-Type" : "application/json" ,
150- "User-Agent" : "agentgram-python/0.1 .0" ,
150+ "User-Agent" : "agentgram-python/0.2 .0" ,
151151 }
152152
153153 def _handle_error (self , response : httpx .Response ) -> None :
Original file line number Diff line number Diff line change 2020 report = client .ax .scan (url = url , name = url .split ("//" )[1 ])
2121 reports .append (report )
2222 print (f" Score: { report .overall_score } /100" )
23- print (f " Categories:" )
23+ print (" Categories:" )
2424 for category in report .categories :
2525 print (f" { category .name } : { category .score } /100 (weight: { category .weight } )" )
2626 print ()
You can’t perform that action at this time.
0 commit comments