Skip to content

TF-1666 Update debug_agentql_script examples #10

TF-1666 Update debug_agentql_script examples

TF-1666 Update debug_agentql_script examples #10

Triggered via pull request August 10, 2024 23:33
Status Success
Total duration 51s
Artifacts

precommit.yml

on: pull_request
Pre-commit checks
39s
Pre-commit checks
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Pre-commit checks: application_examples/flight_price_tracker/flight_price_tracker.py#L21
Cannot access attribute "enable_stealth_mode" for class "WebDriver[Locator, Page, BrowserContext]"   Attribute "enable_stealth_mode" is unknown (reportAttributeAccessIssue)
Pre-commit checks: application_examples/xpath/xpath.py#L22
Argument of type "AQLResponseProxy[Locator] | Locator" cannot be assigned to parameter "element" of type "Locator" in function "xpath_path"   Type "AQLResponseProxy[Locator] | Locator" is incompatible with type "Locator"     "AQLResponseProxy[Locator]" is incompatible with "Locator" (reportArgumentType)
Pre-commit checks: examples/async_example/async_example.py#L32
Object of type "None" is not subscriptable (reportOptionalSubscript)
Pre-commit checks: examples/debug_script/async_debug_agentql_script.py#L31
Expression of type "playwright.async_api._generated.Page" is incompatible with declared type "agentql.ext.playwright.async_api.playwright_smart_locator.Page"   "playwright.async_api._generated.Page" is incompatible with "agentql.ext.playwright.async_api.playwright_smart_locator.Page" (reportAssignmentType)
Pre-commit checks: examples/debug_script/async_debug_agentql_script.py#L38
Object of type "Locator" is not callable   Attribute "__call__" is unknown (reportCallIssue)
Pre-commit checks: examples/debug_script/async_debug_agentql_script.py#L39
Object of type "Locator" is not callable   Attribute "__call__" is unknown (reportCallIssue)
Pre-commit checks: examples/debug_script/debug_agentql_script.py#L30
Expression of type "playwright.sync_api._generated.Page" is incompatible with declared type "agentql.ext.playwright.sync_api.playwright_smart_locator.Page"   "playwright.sync_api._generated.Page" is incompatible with "agentql.ext.playwright.sync_api.playwright_smart_locator.Page" (reportAssignmentType)
Pre-commit checks: examples/debug_script/debug_agentql_script.py#L37
Object of type "Locator" is not callable   Attribute "__call__" is unknown (reportCallIssue)
Pre-commit checks: examples/debug_script/debug_agentql_script.py#L38
Object of type "Locator" is not callable   Attribute "__call__" is unknown (reportCallIssue)
Pre-commit checks: examples/debug_support_methods/last_query.py#L60
"get" is not a known attribute of "None" (reportOptionalMemberAccess)
Pre-commit checks
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-python@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/