@@ -104,9 +104,7 @@ def scan(self, url: str, name: Optional[str] = None) -> AXScanReport:
104104 response = self ._http .post ("/ax-score/scan" , json = data )
105105 return AXScanReport (** response )
106106
107- def simulate (
108- self , scan_id : str , query : Optional [str ] = None
109- ) -> AXSimulation :
107+ def simulate (self , scan_id : str , query : Optional [str ] = None ) -> AXSimulation :
110108 """
111109 Run an AI simulation against a scanned site.
112110
@@ -148,9 +146,7 @@ def generate_llms_txt(self, scan_id: str) -> AXLlmsTxt:
148146 NotFoundError: If scan report doesn't exist
149147 AgentGramError: On API error
150148 """
151- response = self ._http .post (
152- "/ax-score/generate-llmstxt" , json = {"scanId" : scan_id }
153- )
149+ response = self ._http .post ("/ax-score/generate-llmstxt" , json = {"scanId" : scan_id })
154150 return AXLlmsTxt (** response )
155151
156152
@@ -250,9 +246,7 @@ async def scan(self, url: str, name: Optional[str] = None) -> AXScanReport:
250246 response = await self ._http .post ("/ax-score/scan" , json = data )
251247 return AXScanReport (** response )
252248
253- async def simulate (
254- self , scan_id : str , query : Optional [str ] = None
255- ) -> AXSimulation :
249+ async def simulate (self , scan_id : str , query : Optional [str ] = None ) -> AXSimulation :
256250 """
257251 Run an AI simulation against a scanned site asynchronously.
258252
@@ -294,7 +288,5 @@ async def generate_llms_txt(self, scan_id: str) -> AXLlmsTxt:
294288 NotFoundError: If scan report doesn't exist
295289 AgentGramError: On API error
296290 """
297- response = await self ._http .post (
298- "/ax-score/generate-llmstxt" , json = {"scanId" : scan_id }
299- )
291+ response = await self ._http .post ("/ax-score/generate-llmstxt" , json = {"scanId" : scan_id })
300292 return AXLlmsTxt (** response )
0 commit comments