Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Ellipsis] refactor: move execution queries and add new routes and tests #997

Closed

Conversation

ellipsis-dev[bot]
Copy link
Contributor

@ellipsis-dev ellipsis-dev bot commented Dec 27, 2024

This change addresses review comments left by @creatorrr on PR #986: **feat(agents-api): Configure routes **

⚠️ We couldn't build/test your project to verify our changes. Add a Dockerfile to significantly improve code quality.

Summary:

Refactor execution queries, add new routes and tests, and enhance middleware and environment configurations.

Key points:

  • Refactoring:
    • Moved execution-related queries from models/execution to queries/executions.
    • Updated imports in routers to use new query paths.
    • Removed unused imports and code in several files.
  • Features:
    • Added content-length validation middleware in app.py.
    • Introduced new routes for managing agents, users, tasks, and files.
    • Implemented new SQL queries for agents, tasks, and tools.
  • Tests:
    • Added new tests for agent, user, and task routes.
    • Updated test fixtures to support new query paths.
  • Miscellaneous:
    • Updated environment variables in env.py.
    • Added comments and TODOs for future improvements.
    • Disabled a trigger in 000015_entries.up.sql due to performance issues.

You can configure Ellipsis to address comments with a direct commit or a side PR, see docs.


Something look wrong? If this Pull Request doesn't address the comments left on the above pull request, create a new PR review with more details. For more information, check the documentation.

Generated with ❤️ by ellipsis.dev

@ellipsis-dev ellipsis-dev bot requested a review from creatorrr December 27, 2024 02:35
Copy link

gitguardian bot commented Dec 27, 2024

️✅ There are no secrets present in this pull request anymore.

If these secrets were true positive and are still valid, we highly recommend you to revoke them.
While these secrets were previously flagged, we no longer have a reference to the
specific commits where they were detected. Once a secret has been leaked into a git
repository, you should consider it compromised, even if it was deleted immediately.
Find here more information about risks.


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

Copy link

qodo-merge-pro-for-open-source bot commented Dec 27, 2024

CI Failure Feedback 🧐

(Checks updated until commit eed8827)

Action: Typecheck

Failed stage: Typecheck [❌]

Failure summary:

The action failed due to multiple Python type checking errors detected by pytype:

  • Multiple import errors for the pycozo.client module, which appears to be a missing dependency
  • Import errors for internal modules like agents_api.common.utils.cozo.cozo_process_mutate_data
  • Type checking errors in function return types (e.g. in get_execution function)
  • Invalid type errors for ParamSpec related types
  • The key issue seems to be missing or incorrectly configured dependencies, particularly the pycozo
    package

  • Relevant error logs:
    1:  ##[group]Operating System
    2:  Ubuntu
    ...
    
    1200:  [19/372] check agents_api.app
    1201:  [20/372] check agents_api.common.utils.cozo
    1202:  [21/372] check agents_api.exceptions
    1203:  [22/372] check agents_api.autogen.openapi_model
    1204:  [23/372] check agents_api.clients.async_s3
    1205:  [24/372] check agents_api.common.protocol.developers
    1206:  [25/372] check agents_api.worker.codec
    1207:  [26/372] check agents_api.queries.utils
    1208:  ERROR:pytype.matcher Invalid type: <class 'pytype.abstract.function.ParamSpecMatch'>
    1209:  [27/372] check agents_api.dependencies.exceptions
    1210:  [28/372] check agents_api.common.exceptions.tools
    1211:  [29/372] check agents_api.common.protocol.agents
    1212:  [30/372] check agents_api.queries.executions.constants
    1213:  [31/372] check agents_api.queries.developers.get_developer
    1214:  [32/372] check agents_api.models.utils
    1215:  ERROR:pytype.matcher Invalid type: <class 'pytype.abstract._typing.ParamSpecKwargs'>
    1216:  ERROR:pytype.matcher Invalid type: <class 'pytype.abstract._typing.ParamSpecKwargs'>
    1217:  ERROR:pytype.matcher Invalid type: <class 'pytype.abstract._typing.ParamSpecKwargs'>
    1218:  ERROR:pytype.matcher Invalid type: <class 'pytype.abstract.function.ParamSpecMatch'>
    1219:  ERROR:pytype.matcher Invalid type: <class 'pytype.abstract.function.ParamSpecMatch'>
    1220:  ERROR:pytype.matcher Invalid type: <class 'pytype.abstract.function.ParamSpecMatch'>
    1221:  ERROR:pytype.matcher Invalid type: <class 'pytype.abstract.function.ParamSpecMatch'>
    1222:  [33/372] check agents_api.metrics.counters
    1223:  [34/372] check agents_api.common.protocol.tasks
    1224:  [35/372] check agents_api.common.protocol.remote
    1225:  [36/372] check agents_api.activities.types
    1226:  [37/372] check agents_api.routers.docs.router
    1227:  [38/372] check agents_api.models.docs.embed_snippets
    1228:  FAILED: /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/docs/embed_snippets.pyi 
    1229:  /home/runner/work/julep/julep/agents-api/.venv/bin/python -m pytype.main --disable pyi-error --imports_info /home/runner/work/julep/julep/agents-api/.pytype/imports/agents_api.models.docs.embed_snippets.imports --module-name agents_api.models.docs.embed_snippets --platform linux -V 3.12 -o /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/docs/embed_snippets.pyi --analyze-annotated --nofail --none-is-not-bool --quick --strict-none-binding /home/runner/work/julep/julep/agents-api/agents_api/models/docs/embed_snippets.py
    1230:  /home/runner/work/julep/julep/agents-api/agents_api/models/docs/embed_snippets.py:8:1: error: in <module>: Can't find module 'pycozo.client'. [import-error]
    1231:  from pycozo.client import QueryException
    1232:  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1233:  /home/runner/work/julep/julep/agents-api/agents_api/models/docs/embed_snippets.py:12:1: error: in <module>: Can't find module 'agents_api.common.utils.cozo.cozo_process_mutate_data'. [import-error]
    1234:  from ...common.utils.cozo import cozo_process_mutate_data
    1235:  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1236:  For more details, see https://google.github.io/pytype/errors.html#import-error
    1237:  [39/372] check agents_api.clients.litellm
    1238:  [40/372] check agents_api.common.exceptions.tasks
    1239:  [41/372] check agents_api.queries.docs.search_docs_hybrid
    1240:  FAILED: /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/queries/docs/search_docs_hybrid.pyi 
    1241:  /home/runner/work/julep/julep/agents-api/.venv/bin/python -m pytype.main --disable pyi-error --imports_info /home/runner/work/julep/julep/agents-api/.pytype/imports/agents_api.queries.docs.search_docs_hybrid.imports --module-name agents_api.queries.docs.search_docs_hybrid --platform linux -V 3.12 -o /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/queries/docs/search_docs_hybrid.pyi --analyze-annotated --nofail --none-is-not-bool --quick --strict-none-binding /home/runner/work/julep/julep/agents-api/agents_api/queries/docs/search_docs_hybrid.py
    1242:  /home/runner/work/julep/julep/agents-api/agents_api/queries/docs/search_docs_hybrid.py:50:1: error: in <module>: Type annotation for embedding does not match type of assignment [annotation-type-mismatch]
    ...
    
    1339:  metadata_filter,
    1340:  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1341:  search_language,
    1342:  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1343:  ],
    1344:  ~~~~~~~~~~
    1345:  )
    1346:  ~~~~~
    1347:  For more details, see https://google.github.io/pytype/errors.html#annotation-type-mismatch
    1348:  [42/372] check agents_api.queries.docs.search_docs_by_text
    1349:  [43/372] check agents_api.queries.docs.search_docs_by_embedding
    1350:  [44/372] check agents_api.queries.docs.mmr
    1351:  [45/372] check agents_api.common.utils.json
    1352:  [46/372] check agents_api.dependencies.developer_id
    1353:  [47/372] check agents_api.common.protocol.sessions
    1354:  [48/372] check agents_api.clients.integrations
    1355:  [49/372] check agents_api.queries.executions.update_execution
    1356:  FAILED: /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/queries/executions/update_execution.pyi 
    1357:  /home/runner/work/julep/julep/agents-api/.venv/bin/python -m pytype.main --disable pyi-error --imports_info /home/runner/work/julep/julep/agents-api/.pytype/imports/agents_api.queries.executions.update_execution.imports --module-name agents_api.queries.executions.update_execution --platform linux -V 3.12 -o /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/queries/executions/update_execution.pyi --analyze-annotated --nofail --none-is-not-bool --quick --strict-none-binding /home/runner/work/julep/julep/agents-api/agents_api/queries/executions/update_execution.py
    1358:  /home/runner/work/julep/julep/agents-api/agents_api/queries/executions/update_execution.py:6:1: error: in <module>: Can't find module 'pycozo.client'. [import-error]
    1359:  from pycozo.client import QueryException
    1360:  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1361:  /home/runner/work/julep/julep/agents-api/agents_api/queries/executions/update_execution.py:16:1: error: in <module>: Can't find module 'agents_api.common.utils.cozo.cozo_process_mutate_data'. [import-error]
    1362:  from ...common.utils.cozo import cozo_process_mutate_data
    1363:  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1364:  For more details, see https://google.github.io/pytype/errors.html#import-error
    1365:  [50/372] check agents_api.common.utils.messages
    1366:  [51/372] check agents_api.queries.sessions.get_session
    1367:  [52/372] check agents_api.common.retry_policies
    1368:  [53/372] check agents_api.queries.entries.get_history
    1369:  [54/372] check agents_api.common.interceptors
    1370:  [55/372] check agents_api.common.utils.yaml
    1371:  [56/372] check agents_api.models.user.update_user
    1372:  FAILED: /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/user/update_user.pyi 
    1373:  /home/runner/work/julep/julep/agents-api/.venv/bin/python -m pytype.main --disable pyi-error --imports_info /home/runner/work/julep/julep/agents-api/.pytype/imports/agents_api.models.user.update_user.imports --module-name agents_api.models.user.update_user --platform linux -V 3.12 -o /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/user/update_user.pyi --analyze-annotated --nofail --none-is-not-bool --quick --strict-none-binding /home/runner/work/julep/julep/agents-api/agents_api/models/user/update_user.py
    1374:  /home/runner/work/julep/julep/agents-api/agents_api/models/user/update_user.py:6:1: error: in <module>: Can't find module 'pycozo.client'. [import-error]
    1375:  from pycozo.client import QueryException
    1376:  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1377:  /home/runner/work/julep/julep/agents-api/agents_api/models/user/update_user.py:10:1: error: in <module>: Can't find module 'agents_api.common.utils.cozo.cozo_process_mutate_data'. [import-error]
    1378:  from ...common.utils.cozo import cozo_process_mutate_data
    1379:  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1380:  For more details, see https://google.github.io/pytype/errors.html#import-error
    1381:  [57/372] check agents_api.models.user.list_users
    1382:  FAILED: /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/user/list_users.pyi 
    1383:  /home/runner/work/julep/julep/agents-api/.venv/bin/python -m pytype.main --disable pyi-error --imports_info /home/runner/work/julep/julep/agents-api/.pytype/imports/agents_api.models.user.list_users.imports --module-name agents_api.models.user.list_users --platform linux -V 3.12 -o /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/user/list_users.pyi --analyze-annotated --nofail --none-is-not-bool --quick --strict-none-binding /home/runner/work/julep/julep/agents-api/agents_api/models/user/list_users.py
    1384:  /home/runner/work/julep/julep/agents-api/agents_api/models/user/list_users.py:6:1: error: in <module>: Can't find module 'pycozo.client'. [import-error]
    1385:  from pycozo.client import QueryException
    1386:  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1387:  For more details, see https://google.github.io/pytype/errors.html#import-error
    1388:  [58/372] check agents_api.models.user.get_user
    1389:  FAILED: /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/user/get_user.pyi 
    1390:  /home/runner/work/julep/julep/agents-api/.venv/bin/python -m pytype.main --disable pyi-error --imports_info /home/runner/work/julep/julep/agents-api/.pytype/imports/agents_api.models.user.get_user.imports --module-name agents_api.models.user.get_user --platform linux -V 3.12 -o /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/user/get_user.pyi --analyze-annotated --nofail --none-is-not-bool --quick --strict-none-binding /home/runner/work/julep/julep/agents-api/agents_api/models/user/get_user.py
    1391:  /home/runner/work/julep/julep/agents-api/agents_api/models/user/get_user.py:6:1: error: in <module>: Can't find module 'pycozo.client'. [import-error]
    1392:  from pycozo.client import QueryException
    1393:  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1394:  For more details, see https://google.github.io/pytype/errors.html#import-error
    1395:  [59/372] check agents_api.models.user.delete_user
    1396:  FAILED: /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/user/delete_user.pyi 
    1397:  /home/runner/work/julep/julep/agents-api/.venv/bin/python -m pytype.main --disable pyi-error --imports_info /home/runner/work/julep/julep/agents-api/.pytype/imports/agents_api.models.user.delete_user.imports --module-name agents_api.models.user.delete_user --platform linux -V 3.12 -o /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/user/delete_user.pyi --analyze-annotated --nofail --none-is-not-bool --quick --strict-none-binding /home/runner/work/julep/julep/agents-api/agents_api/models/user/delete_user.py
    1398:  /home/runner/work/julep/julep/agents-api/agents_api/models/user/delete_user.py:10:1: error: in <module>: Can't find module 'pycozo.client'. [import-error]
    1399:  from pycozo.client import QueryException
    1400:  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1401:  For more details, see https://google.github.io/pytype/errors.html#import-error
    1402:  [60/372] check agents_api.models.user.create_user
    1403:  FAILED: /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/user/create_user.pyi 
    1404:  /home/runner/work/julep/julep/agents-api/.venv/bin/python -m pytype.main --disable pyi-error --imports_info /home/runner/work/julep/julep/agents-api/.pytype/imports/agents_api.models.user.create_user.imports --module-name agents_api.models.user.create_user --platform linux -V 3.12 -o /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/user/create_user.pyi --analyze-annotated --nofail --none-is-not-bool --quick --strict-none-binding /home/runner/work/julep/julep/agents-api/agents_api/models/user/create_user.py
    1405:  /home/runner/work/julep/julep/agents-api/agents_api/models/user/create_user.py:11:1: error: in <module>: Can't find module 'pycozo.client'. [import-error]
    1406:  from pycozo.client import QueryException
    1407:  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1408:  For more details, see https://google.github.io/pytype/errors.html#import-error
    1409:  [61/372] check agents_api.models.task.update_task
    1410:  FAILED: /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/task/update_task.pyi 
    1411:  /home/runner/work/julep/julep/agents-api/.venv/bin/python -m pytype.main --disable pyi-error --imports_info /home/runner/work/julep/julep/agents-api/.pytype/imports/agents_api.models.task.update_task.imports --module-name agents_api.models.task.update_task --platform linux -V 3.12 -o /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/task/update_task.pyi --analyze-annotated --nofail --none-is-not-bool --quick --strict-none-binding /home/runner/work/julep/julep/agents-api/agents_api/models/task/update_task.py
    1412:  /home/runner/work/julep/julep/agents-api/agents_api/models/task/update_task.py:11:1: error: in <module>: Can't find module 'pycozo.client'. [import-error]
    1413:  from pycozo.client import QueryException
    1414:  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1415:  /home/runner/work/julep/julep/agents-api/agents_api/models/task/update_task.py:16:1: error: in <module>: Can't find module 'agents_api.common.utils.cozo.cozo_process_mutate_data'. [import-error]
    1416:  from ...common.utils.cozo import cozo_process_mutate_data
    1417:  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1418:  For more details, see https://google.github.io/pytype/errors.html#import-error
    1419:  [62/372] check agents_api.models.task.list_tasks
    1420:  FAILED: /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/task/list_tasks.pyi 
    1421:  /home/runner/work/julep/julep/agents-api/.venv/bin/python -m pytype.main --disable pyi-error --imports_info /home/runner/work/julep/julep/agents-api/.pytype/imports/agents_api.models.task.list_tasks.imports --module-name agents_api.models.task.list_tasks --platform linux -V 3.12 -o /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/task/list_tasks.pyi --analyze-annotated --nofail --none-is-not-bool --quick --strict-none-binding /home/runner/work/julep/julep/agents-api/agents_api/models/task/list_tasks.py
    1422:  /home/runner/work/julep/julep/agents-api/agents_api/models/task/list_tasks.py:6:1: error: in <module>: Can't find module 'pycozo.client'. [import-error]
    1423:  from pycozo.client import QueryException
    1424:  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1425:  For more details, see https://google.github.io/pytype/errors.html#import-error
    1426:  [63/372] check agents_api.models.task.get_task
    1427:  FAILED: /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/task/get_task.pyi 
    1428:  /home/runner/work/julep/julep/agents-api/.venv/bin/python -m pytype.main --disable pyi-error --imports_info /home/runner/work/julep/julep/agents-api/.pytype/imports/agents_api.models.task.get_task.imports --module-name agents_api.models.task.get_task --platform linux -V 3.12 -o /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/task/get_task.pyi --analyze-annotated --nofail --none-is-not-bool --quick --strict-none-binding /home/runner/work/julep/julep/agents-api/agents_api/models/task/get_task.py
    1429:  /home/runner/work/julep/julep/agents-api/agents_api/models/task/get_task.py:6:1: error: in <module>: Can't find module 'pycozo.client'. [import-error]
    1430:  from pycozo.client import QueryException
    1431:  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1432:  For more details, see https://google.github.io/pytype/errors.html#import-error
    1433:  [64/372] check agents_api.models.task.delete_task
    1434:  FAILED: /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/task/delete_task.pyi 
    1435:  /home/runner/work/julep/julep/agents-api/.venv/bin/python -m pytype.main --disable pyi-error --imports_info /home/runner/work/julep/julep/agents-api/.pytype/imports/agents_api.models.task.delete_task.imports --module-name agents_api.models.task.delete_task --platform linux -V 3.12 -o /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/task/delete_task.pyi --analyze-annotated --nofail --none-is-not-bool --quick --strict-none-binding /home/runner/work/julep/julep/agents-api/agents_api/models/task/delete_task.py
    1436:  /home/runner/work/julep/julep/agents-api/agents_api/models/task/delete_task.py:6:1: error: in <module>: Can't find module 'pycozo.client'. [import-error]
    1437:  from pycozo.client import QueryException
    1438:  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1439:  For more details, see https://google.github.io/pytype/errors.html#import-error
    1440:  [65/372] check agents_api.models.task.create_task
    1441:  FAILED: /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/task/create_task.pyi 
    1442:  /home/runner/work/julep/julep/agents-api/.venv/bin/python -m pytype.main --disable pyi-error --imports_info /home/runner/work/julep/julep/agents-api/.pytype/imports/agents_api.models.task.create_task.imports --module-name agents_api.models.task.create_task --platform linux -V 3.12 -o /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/task/create_task.pyi --analyze-annotated --nofail --none-is-not-bool --quick --strict-none-binding /home/runner/work/julep/julep/agents-api/agents_api/models/task/create_task.py
    1443:  /home/runner/work/julep/julep/agents-api/agents_api/models/task/create_task.py:11:1: error: in <module>: Can't find module 'pycozo.client'. [import-error]
    1444:  from pycozo.client import QueryException
    1445:  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1446:  /home/runner/work/julep/julep/agents-api/agents_api/models/task/create_task.py:20:1: error: in <module>: Can't find module 'agents_api.common.utils.cozo.cozo_process_mutate_data'. [import-error]
    1447:  from ...common.utils.cozo import cozo_process_mutate_data
    1448:  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1449:  For more details, see https://google.github.io/pytype/errors.html#import-error
    1450:  [66/372] check agents_api.models.session.update_session
    1451:  FAILED: /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/session/update_session.pyi 
    1452:  /home/runner/work/julep/julep/agents-api/.venv/bin/python -m pytype.main --disable pyi-error --imports_info /home/runner/work/julep/julep/agents-api/.pytype/imports/agents_api.models.session.update_session.imports --module-name agents_api.models.session.update_session --platform linux -V 3.12 -o /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/session/update_session.pyi --analyze-annotated --nofail --none-is-not-bool --quick --strict-none-binding /home/runner/work/julep/julep/agents-api/agents_api/models/session/update_session.py
    1453:  /home/runner/work/julep/julep/agents-api/agents_api/models/session/update_session.py:6:1: error: in <module>: Can't find module 'pycozo.client'. [import-error]
    1454:  from pycozo.client import QueryException
    1455:  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1456:  /home/runner/work/julep/julep/agents-api/agents_api/models/session/update_session.py:10:1: error: in <module>: Can't find module 'agents_api.common.utils.cozo.cozo_process_mutate_data'. [import-error]
    1457:  from ...common.utils.cozo import cozo_process_mutate_data
    1458:  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1459:  For more details, see https://google.github.io/pytype/errors.html#import-error
    1460:  [67/372] check agents_api.models.session.list_sessions
    1461:  FAILED: /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/session/list_sessions.pyi 
    1462:  /home/runner/work/julep/julep/agents-api/.venv/bin/python -m pytype.main --disable pyi-error --imports_info /home/runner/work/julep/julep/agents-api/.pytype/imports/agents_api.models.session.list_sessions.imports --module-name agents_api.models.session.list_sessions --platform linux -V 3.12 -o /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/session/list_sessions.pyi --analyze-annotated --nofail --none-is-not-bool --quick --strict-none-binding /home/runner/work/julep/julep/agents-api/agents_api/models/session/list_sessions.py
    1463:  /home/runner/work/julep/julep/agents-api/agents_api/models/session/list_sessions.py:8:1: error: in <module>: Can't find module 'pycozo.client'. [import-error]
    1464:  from pycozo.client import QueryException
    1465:  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1466:  For more details, see https://google.github.io/pytype/errors.html#import-error
    1467:  [68/372] check agents_api.models.session.get_session
    1468:  FAILED: /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/session/get_session.pyi 
    1469:  /home/runner/work/julep/julep/agents-api/.venv/bin/python -m pytype.main --disable pyi-error --imports_info /home/runner/work/julep/julep/agents-api/.pytype/imports/agents_api.models.session.get_session.imports --module-name agents_api.models.session.get_session --platform linux -V 3.12 -o /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/session/get_session.pyi --analyze-annotated --nofail --none-is-not-bool --quick --strict-none-binding /home/runner/work/julep/julep/agents-api/agents_api/models/session/get_session.py
    1470:  /home/runner/work/julep/julep/agents-api/agents_api/models/session/get_session.py:6:1: error: in <module>: Can't find module 'pycozo.client'. [import-error]
    1471:  from pycozo.client import QueryException
    1472:  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1473:  For more details, see https://google.github.io/pytype/errors.html#import-error
    1474:  [69/372] check agents_api.models.session.delete_session
    1475:  FAILED: /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/session/delete_session.pyi 
    1476:  /home/runner/work/julep/julep/agents-api/.venv/bin/python -m pytype.main --disable pyi-error --imports_info /home/runner/work/julep/julep/agents-api/.pytype/imports/agents_api.models.session.delete_session.imports --module-name agents_api.models.session.delete_session --platform linux -V 3.12 -o /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/session/delete_session.pyi --analyze-annotated --nofail --none-is-not-bool --quick --strict-none-binding /home/runner/work/julep/julep/agents-api/agents_api/models/session/delete_session.py
    1477:  /home/runner/work/julep/julep/agents-api/agents_api/models/session/delete_session.py:8:1: error: in <module>: Can't find module 'pycozo.client'. [import-error]
    1478:  from pycozo.client import QueryException
    1479:  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1480:  For more details, see https://google.github.io/pytype/errors.html#import-error
    1481:  [70/372] check agents_api.models.session.create_session
    1482:  FAILED: /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/session/create_session.pyi 
    1483:  /home/runner/work/julep/julep/agents-api/.venv/bin/python -m pytype.main --disable pyi-error --imports_info /home/runner/work/julep/julep/agents-api/.pytype/imports/agents_api.models.session.create_session.imports --module-name agents_api.models.session.create_session --platform linux -V 3.12 -o /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/session/create_session.pyi --analyze-annotated --nofail --none-is-not-bool --quick --strict-none-binding /home/runner/work/julep/julep/agents-api/agents_api/models/session/create_session.py
    1484:  /home/runner/work/julep/julep/agents-api/agents_api/models/session/create_session.py:11:1: error: in <module>: Can't find module 'pycozo.client'. [import-error]
    1485:  from pycozo.client import QueryException
    1486:  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1487:  For more details, see https://google.github.io/pytype/errors.html#import-error
    1488:  [71/372] check agents_api.models.docs.list_docs
    1489:  FAILED: /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/docs/list_docs.pyi 
    1490:  /home/runner/work/julep/julep/agents-api/.venv/bin/python -m pytype.main --disable pyi-error --imports_info /home/runner/work/julep/julep/agents-api/.pytype/imports/agents_api.models.docs.list_docs.imports --module-name agents_api.models.docs.list_docs --platform linux -V 3.12 -o /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/docs/list_docs.pyi --analyze-annotated --nofail --none-is-not-bool --quick --strict-none-binding /home/runner/work/julep/julep/agents-api/agents_api/models/docs/list_docs.py
    1491:  /home/runner/work/julep/julep/agents-api/agents_api/models/docs/list_docs.py:9:1: error: in <module>: Can't find module 'pycozo.client'. [import-error]
    1492:  from pycozo.client import QueryException
    1493:  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1494:  For more details, see https://google.github.io/pytype/errors.html#import-error
    1495:  [72/372] check agents_api.models.docs.delete_doc
    1496:  FAILED: /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/docs/delete_doc.pyi 
    1497:  /home/runner/work/julep/julep/agents-api/.venv/bin/python -m pytype.main --disable pyi-error --imports_info /home/runner/work/julep/julep/agents-api/.pytype/imports/agents_api.models.docs.delete_doc.imports --module-name agents_api.models.docs.delete_doc --platform linux -V 3.12 -o /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/docs/delete_doc.pyi --analyze-annotated --nofail --none-is-not-bool --quick --strict-none-binding /home/runner/work/julep/julep/agents-api/agents_api/models/docs/delete_doc.py
    1498:  /home/runner/work/julep/julep/agents-api/agents_api/models/docs/delete_doc.py:6:1: error: in <module>: Can't find module 'pycozo.client'. [import-error]
    1499:  from pycozo.client import QueryException
    1500:  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1501:  For more details, see https://google.github.io/pytype/errors.html#import-error
    1502:  [73/372] check agents_api.models.agent.update_agent
    1503:  FAILED: /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/agent/update_agent.pyi 
    1504:  /home/runner/work/julep/julep/agents-api/.venv/bin/python -m pytype.main --disable pyi-error --imports_info /home/runner/work/julep/julep/agents-api/.pytype/imports/agents_api.models.agent.update_agent.imports --module-name agents_api.models.agent.update_agent --platform linux -V 3.12 -o /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/agent/update_agent.pyi --analyze-annotated --nofail --none-is-not-bool --quick --strict-none-binding /home/runner/work/julep/julep/agents-api/agents_api/models/agent/update_agent.py
    1505:  /home/runner/work/julep/julep/agents-api/agents_api/models/agent/update_agent.py:9:1: error: in <module>: Can't find module 'agents_api.common.utils.cozo.cozo_process_mutate_data'. [import-error]
    1506:  from ...common.utils.cozo import cozo_process_mutate_data
    1507:  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1508:  /home/runner/work/julep/julep/agents-api/agents_api/models/agent/update_agent.py:24:9: error: in <module>: Name 'QueryException' is not defined [name-error]
    1509:  QueryException: partialclass(HTTPException, status_code=400),
    1510:  ~~~~~~~~~~~~~~
    1511:  /home/runner/work/julep/julep/agents-api/agents_api/models/agent/update_agent.py:35:2: error: in <module>: Name 'cozo_query' is not defined [name-error]
    1512:  @cozo_query
    1513:  ~~~~~~~~~~
    1514:  /home/runner/work/julep/julep/agents-api/agents_api/models/agent/update_agent.py:36:2: error: in <module>: Name 'increase_counter' is not defined [name-error]
    1515:  @increase_counter("update_agent")
    1516:  ~~~~~~~~~~~~~~~~
    1517:  For more details, see https://google.github.io/pytype/errors.html
    1518:  [74/372] check agents_api.models.agent.list_agents
    1519:  FAILED: /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/agent/list_agents.pyi 
    1520:  /home/runner/work/julep/julep/agents-api/.venv/bin/python -m pytype.main --disable pyi-error --imports_info /home/runner/work/julep/julep/agents-api/.pytype/imports/agents_api.models.agent.list_agents.imports --module-name agents_api.models.agent.list_agents --platform linux -V 3.12 -o /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/agent/list_agents.pyi --analyze-annotated --nofail --none-is-not-bool --quick --strict-none-binding /home/runner/work/julep/julep/agents-api/agents_api/models/agent/list_agents.py
    1521:  /home/runner/work/julep/julep/agents-api/agents_api/models/agent/list_agents.py:23:9: error: in <module>: Name 'QueryException' is not defined [name-error]
    1522:  QueryException: partialclass(HTTPException, status_code=400),
    1523:  ~~~~~~~~~~~~~~
    1524:  /home/runner/work/julep/julep/agents-api/agents_api/models/agent/list_agents.py:29:2: error: in <module>: Name 'cozo_query' is not defined [name-error]
    1525:  @cozo_query
    1526:  ~~~~~~~~~~
    1527:  For more details, see https://google.github.io/pytype/errors.html#name-error
    1528:  [75/372] check agents_api.models.agent.get_agent
    1529:  FAILED: /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/agent/get_agent.pyi 
    1530:  /home/runner/work/julep/julep/agents-api/.venv/bin/python -m pytype.main --disable pyi-error --imports_info /home/runner/work/julep/julep/agents-api/.pytype/imports/agents_api.models.agent.get_agent.imports --module-name agents_api.models.agent.get_agent --platform linux -V 3.12 -o /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/agent/get_agent.pyi --analyze-annotated --nofail --none-is-not-bool --quick --strict-none-binding /home/runner/work/julep/julep/agents-api/agents_api/models/agent/get_agent.py
    1531:  /home/runner/work/julep/julep/agents-api/agents_api/models/agent/get_agent.py:23:33: error: in <lambda>: Name 'QueryException' is not defined [name-error]
    1532:  lambda e: isinstance(e, QueryException)
    1533:  ~~~~~~~~~~~~~~
    1534:  /home/runner/work/julep/julep/agents-api/agents_api/models/agent/get_agent.py:27:33: error: in <lambda>: Name 'QueryException' is not defined [name-error]
    1535:  lambda e: isinstance(e, QueryException)
    1536:  ~~~~~~~~~~~~~~
    1537:  /home/runner/work/julep/julep/agents-api/agents_api/models/agent/get_agent.py:32:9: error: in <module>: Name 'QueryException' is not defined [name-error]
    1538:  QueryException: partialclass(HTTPException, status_code=400),
    1539:  ~~~~~~~~~~~~~~
    1540:  /home/runner/work/julep/julep/agents-api/agents_api/models/agent/get_agent.py:38:2: error: in <module>: Name 'cozo_query' is not defined [name-error]
    1541:  @cozo_query
    1542:  ~~~~~~~~~~
    1543:  For more details, see https://google.github.io/pytype/errors.html#name-error
    1544:  [76/372] check agents_api.models.agent.delete_agent
    1545:  FAILED: /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/agent/delete_agent.pyi 
    1546:  /home/runner/work/julep/julep/agents-api/.venv/bin/python -m pytype.main --disable pyi-error --imports_info /home/runner/work/julep/julep/agents-api/.pytype/imports/agents_api.models.agent.delete_agent.imports --module-name agents_api.models.agent.delete_agent --platform linux -V 3.12 -o /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/agent/delete_agent.pyi --analyze-annotated --nofail --none-is-not-bool --quick --strict-none-binding /home/runner/work/julep/julep/agents-api/agents_api/models/agent/delete_agent.py
    1547:  /home/runner/work/julep/julep/agents-api/agents_api/models/agent/delete_agent.py:28:33: error: in <lambda>: Name 'QueryException' is not defined [name-error]
    1548:  lambda e: isinstance(e, QueryException)
    1549:  ~~~~~~~~~~~~~~
    1550:  /home/runner/work/julep/julep/agents-api/agents_api/models/agent/delete_agent.py:34:9: error: in <module>: Name 'QueryException' is not defined [name-error]
    1551:  QueryException: partialclass(
    1552:  ~~~~~~~~~~~~~~
    1553:  /home/runner/work/julep/julep/agents-api/agents_api/models/agent/delete_agent.py:61:2: error: in <module>: Name 'cozo_query' is not defined [name-error]
    1554:  @cozo_query
    1555:  ~~~~~~~~~~
    1556:  For more details, see https://google.github.io/pytype/errors.html#name-error
    1557:  [77/372] check agents_api.models.agent.create_agent
    1558:  FAILED: /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/agent/create_agent.pyi 
    1559:  /home/runner/work/julep/julep/agents-api/.venv/bin/python -m pytype.main --disable pyi-error --imports_info /home/runner/work/julep/julep/agents-api/.pytype/imports/agents_api.models.agent.create_agent.imports --module-name agents_api.models.agent.create_agent --platform linux -V 3.12 -o /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/agent/create_agent.pyi --analyze-annotated --nofail --none-is-not-bool --quick --strict-none-binding /home/runner/work/julep/julep/agents-api/agents_api/models/agent/create_agent.py
    1560:  /home/runner/work/julep/julep/agents-api/agents_api/models/agent/create_agent.py:15:1: error: in <module>: Can't find module 'agents_api.common.utils.cozo.cozo_process_mutate_data'. [import-error]
    1561:  from ...common.utils.cozo import cozo_process_mutate_data
    1562:  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1563:  /home/runner/work/julep/julep/agents-api/agents_api/models/agent/create_agent.py:29:33: error: in <lambda>: Name 'QueryException' is not defined [name-error]
    1564:  lambda e: isinstance(e, QueryException)
    1565:  ~~~~~~~~~~~~~~
    1566:  /home/runner/work/julep/julep/agents-api/agents_api/models/agent/create_agent.py:35:9: error: in <module>: Name 'QueryException' is not defined [name-error]
    1567:  QueryException: partialclass(
    1568:  ~~~~~~~~~~~~~~
    1569:  /home/runner/work/julep/julep/agents-api/agents_api/models/agent/create_agent.py:58:2: error: in <module>: Name 'cozo_query' is not defined [name-error]
    1570:  @cozo_query
    1571:  ~~~~~~~~~~
    1572:  /home/runner/work/julep/julep/agents-api/agents_api/models/agent/create_agent.py:59:2: error: in <module>: Name 'increase_counter' is not defined [name-error]
    1573:  @increase_counter("create_agent")
    1574:  ~~~~~~~~~~~~~~~~
    1575:  For more details, see https://google.github.io/pytype/errors.html
    1576:  [78/372] check agents_api.common.nlp
    1577:  [79/372] check agents_api.activities.execute_integration
    1578:  FAILED: /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/activities/execute_integration.pyi 
    1579:  /home/runner/work/julep/julep/agents-api/.venv/bin/python -m pytype.main --disable pyi-error --imports_info /home/runner/work/julep/julep/agents-api/.pytype/imports/agents_api.activities.execute_integration.imports --module-name agents_api.activities.execute_integration --platform linux -V 3.12 -o /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/activities/execute_integration.pyi --analyze-annotated --nofail --none-is-not-bool --quick --strict-none-binding /home/runner/work/julep/julep/agents-api/agents_api/activities/execute_integration.py
    1580:  /home/runner/work/julep/julep/agents-api/agents_api/activities/execute_integration.py:11:1: error: in <module>: Can't find module 'models.tools'. [import-error]
    1581:  from ..models.tools import get_tool_args_from_metadata
    1582:  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1583:  For more details, see https://google.github.io/pytype/errors.html#import-error
    ...
    
    1677:  [173/372] check agents_api.workflows.mem_rating
    1678:  [174/372] check agents_api.workflows.mem_mgmt
    1679:  [175/372] check agents_api.workflows.demo
    1680:  [176/372] check agents_api.queries.tools.delete_tool
    1681:  [177/372] check agents_api.queries.tools.create_tools
    1682:  [178/372] check agents_api.queries.developers.create_developer
    1683:  [179/372] check agents_api.common.utils.types
    1684:  [180/372] check agents_api.queries.executions.get_execution
    1685:  FAILED: /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/queries/executions/get_execution.pyi 
    1686:  /home/runner/work/julep/julep/agents-api/.venv/bin/python -m pytype.main --disable pyi-error --imports_info /home/runner/work/julep/julep/agents-api/.pytype/imports/agents_api.queries.executions.get_execution.imports --module-name agents_api.queries.executions.get_execution --platform linux -V 3.12 -o /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/queries/executions/get_execution.pyi --analyze-annotated --nofail --none-is-not-bool --quick --strict-none-binding /home/runner/work/julep/julep/agents-api/agents_api/queries/executions/get_execution.py
    1687:  /home/runner/work/julep/julep/agents-api/agents_api/queries/executions/get_execution.py:49:5: error: in get_execution: bad return type [bad-return-type]
    ...
    
    1690:  return (
    1691:  ~~~~~~~~
    1692:  sql_query.format(),
    1693:  ~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1694:  [execution_id],
    1695:  ~~~~~~~~~~~~~~~~~~~~~~~
    1696:  )
    1697:  ~~~~~
    1698:  For more details, see https://google.github.io/pytype/errors.html#bad-return-type
    1699:  [181/372] check agents_api.queries.tools.list_tools
    1700:  [182/372] check agents_api.models.user.patch_user
    1701:  FAILED: /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/user/patch_user.pyi 
    1702:  /home/runner/work/julep/julep/agents-api/.venv/bin/python -m pytype.main --disable pyi-error --imports_info /home/runner/work/julep/julep/agents-api/.pytype/imports/agents_api.models.user.patch_user.imports --module-name agents_api.models.user.patch_user --platform linux -V 3.12 -o /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/user/patch_user.pyi --analyze-annotated --nofail --none-is-not-bool --quick --strict-none-binding /home/runner/work/julep/julep/agents-api/agents_api/models/user/patch_user.py
    1703:  /home/runner/work/julep/julep/agents-api/agents_api/models/user/patch_user.py:8:1: error: in <module>: Can't find module 'pycozo.client'. [import-error]
    1704:  from pycozo.client import QueryException
    1705:  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1706:  /home/runner/work/julep/julep/agents-api/agents_api/models/user/patch_user.py:12:1: error: in <module>: Can't find module 'agents_api.common.utils.cozo.cozo_process_mutate_data'. [import-error]
    1707:  from ...common.utils.cozo import cozo_process_mutate_data
    1708:  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1709:  For more details, see https://google.github.io/pytype/errors.html#import-error
    1710:  [183/372] check agents_api.models.user.create_or_update_user
    1711:  FAILED: /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/user/create_or_update_user.pyi 
    1712:  /home/runner/work/julep/julep/agents-api/.venv/bin/python -m pytype.main --disable pyi-error --imports_info /home/runner/work/julep/julep/agents-api/.pytype/imports/agents_api.models.user.create_or_update_user.imports --module-name agents_api.models.user.create_or_update_user --platform linux -V 3.12 -o /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/user/create_or_update_user.pyi --analyze-annotated --nofail --none-is-not-bool --quick --strict-none-binding /home/runner/work/julep/julep/agents-api/agents_api/models/user/create_or_update_user.py
    1713:  /home/runner/work/julep/julep/agents-api/agents_api/models/user/create_or_update_user.py:11:1: error: in <module>: Can't find module 'pycozo.client'. [import-error]
    1714:  from pycozo.client import QueryException
    1715:  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1716:  For more details, see https://google.github.io/pytype/errors.html#import-error
    1717:  [184/372] check agents_api.models.task.patch_task
    1718:  FAILED: /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/task/patch_task.pyi 
    1719:  /home/runner/work/julep/julep/agents-api/.venv/bin/python -m pytype.main --disable pyi-error --imports_info /home/runner/work/julep/julep/agents-api/.pytype/imports/agents_api.models.task.patch_task.imports --module-name agents_api.models.task.patch_task --platform linux -V 3.12 -o /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/task/patch_task.pyi --analyze-annotated --nofail --none-is-not-bool --quick --strict-none-binding /home/runner/work/julep/julep/agents-api/agents_api/models/task/patch_task.py
    1720:  /home/runner/work/julep/julep/agents-api/agents_api/models/task/patch_task.py:11:1: error: in <module>: Can't find module 'pycozo.client'. [import-error]
    1721:  from pycozo.client import QueryException
    1722:  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1723:  /home/runner/work/julep/julep/agents-api/agents_api/models/task/patch_task.py:16:1: error: in <module>: Can't find module 'agents_api.common.utils.cozo.cozo_process_mutate_data'. [import-error]
    1724:  from ...common.utils.cozo import cozo_process_mutate_data
    1725:  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1726:  For more details, see https://google.github.io/pytype/errors.html#import-error
    1727:  [185/372] check agents_api.models.task.create_or_update_task
    1728:  FAILED: /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/task/create_or_update_task.pyi 
    1729:  /home/runner/work/julep/julep/agents-api/.venv/bin/python -m pytype.main --disable pyi-error --imports_info /home/runner/work/julep/julep/agents-api/.pytype/imports/agents_api.models.task.create_or_update_task.imports --module-name agents_api.models.task.create_or_update_task --platform linux -V 3.12 -o /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/task/create_or_update_task.pyi --analyze-annotated --nofail --none-is-not-bool --quick --strict-none-binding /home/runner/work/julep/julep/agents-api/agents_api/models/task/create_or_update_task.py
    1730:  /home/runner/work/julep/julep/agents-api/agents_api/models/task/create_or_update_task.py:11:1: error: in <module>: Can't find module 'pycozo.client'. [import-error]
    1731:  from pycozo.client import QueryException
    1732:  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1733:  /home/runner/work/julep/julep/agents-api/agents_api/models/task/create_or_update_task.py:19:1: error: in <module>: Can't find module 'agents_api.common.utils.cozo.cozo_process_mutate_data'. [import-error]
    1734:  from ...common.utils.cozo import cozo_process_mutate_data
    1735:  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1736:  For more details, see https://google.github.io/pytype/errors.html#import-error
    1737:  [186/372] check agents_api.models.session.prepare_session_data
    1738:  FAILED: /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/session/prepare_session_data.pyi 
    1739:  /home/runner/work/julep/julep/agents-api/.venv/bin/python -m pytype.main --disable pyi-error --imports_info /home/runner/work/julep/julep/agents-api/.pytype/imports/agents_api.models.session.prepare_session_data.imports --module-name agents_api.models.session.prepare_session_data --platform linux -V 3.12 -o /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/session/prepare_session_data.pyi --analyze-annotated --nofail --none-is-not-bool --quick --strict-none-binding /home/runner/work/julep/julep/agents-api/agents_api/models/session/prepare_session_data.py
    1740:  /home/runner/work/julep/julep/agents-api/agents_api/models/session/prepare_session_data.py:6:1: error: in <module>: Can't find module 'pycozo.client'. [import-error]
    1741:  from pycozo.client import QueryException
    1742:  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1743:  For more details, see https://google.github.io/pytype/errors.html#import-error
    1744:  [187/372] check agents_api.models.session.patch_session
    1745:  FAILED: /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/session/patch_session.pyi 
    1746:  /home/runner/work/julep/julep/agents-api/.venv/bin/python -m pytype.main --disable pyi-error --imports_info /home/runner/work/julep/julep/agents-api/.pytype/imports/agents_api.models.session.patch_session.imports --module-name agents_api.models.session.patch_session --platform linux -V 3.12 -o /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/session/patch_session.pyi --analyze-annotated --nofail --none-is-not-bool --quick --strict-none-binding /home/runner/work/julep/julep/agents-api/agents_api/models/session/patch_session.py
    1747:  /home/runner/work/julep/julep/agents-api/agents_api/models/session/patch_session.py:8:1: error: in <module>: Can't find module 'pycozo.client'. [import-error]
    1748:  from pycozo.client import QueryException
    1749:  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1750:  /home/runner/work/julep/julep/agents-api/agents_api/models/session/patch_session.py:12:1: error: in <module>: Can't find module 'agents_api.common.utils.cozo.cozo_process_mutate_data'. [import-error]
    1751:  from ...common.utils.cozo import cozo_process_mutate_data
    1752:  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1753:  For more details, see https://google.github.io/pytype/errors.html#import-error
    1754:  [188/372] check agents_api.models.session.create_or_update_session
    1755:  FAILED: /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/session/create_or_update_session.pyi 
    1756:  /home/runner/work/julep/julep/agents-api/.venv/bin/python -m pytype.main --disable pyi-error --imports_info /home/runner/work/julep/julep/agents-api/.pytype/imports/agents_api.models.session.create_or_update_session.imports --module-name agents_api.models.session.create_or_update_session --platform linux -V 3.12 -o /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/session/create_or_update_session.pyi --analyze-annotated --nofail --none-is-not-bool --quick --strict-none-binding /home/runner/work/julep/julep/agents-api/agents_api/models/session/create_or_update_session.py
    1757:  /home/runner/work/julep/julep/agents-api/agents_api/models/session/create_or_update_session.py:6:1: error: in <module>: Can't find module 'pycozo.client'. [import-error]
    1758:  from pycozo.client import QueryException
    1759:  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1760:  /home/runner/work/julep/julep/agents-api/agents_api/models/session/create_or_update_session.py:13:1: error: in <module>: Can't find module 'agents_api.common.utils.cozo.cozo_process_mutate_data'. [import-error]
    1761:  from ...common.utils.cozo import cozo_process_mutate_data
    1762:  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1763:  For more details, see https://google.github.io/pytype/errors.html#import-error
    1764:  [189/372] check agents_api.models.session.count_sessions
    1765:  FAILED: /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/session/count_sessions.pyi 
    1766:  /home/runner/work/julep/julep/agents-api/.venv/bin/python -m pytype.main --disable pyi-error --imports_info /home/runner/work/julep/julep/agents-api/.pytype/imports/agents_api.models.session.count_sessions.imports --module-name agents_api.models.session.count_sessions --platform linux -V 3.12 -o /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/session/count_sessions.pyi --analyze-annotated --nofail --none-is-not-bool --quick --strict-none-binding /home/runner/work/julep/julep/agents-api/agents_api/models/session/count_sessions.py
    1767:  /home/runner/work/julep/julep/agents-api/agents_api/models/session/count_sessions.py:8:1: error: in <module>: Can't find module 'pycozo.client'. [import-error]
    1768:  from pycozo.client import QueryException
    1769:  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1770:  For more details, see https://google.github.io/pytype/errors.html#import-error
    1771:  [190/372] check agents_api.models.files.get_file
    1772:  FAILED: /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/files/get_file.pyi 
    1773:  /home/runner/work/julep/julep/agents-api/.venv/bin/python -m pytype.main --disable pyi-error --imports_info /home/runner/work/julep/julep/agents-api/.pytype/imports/agents_api.models.files.get_file.imports --module-name agents_api.models.files.get_file --platform linux -V 3.12 -o /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/files/get_file.pyi --analyze-annotated --nofail --none-is-not-bool --quick --strict-none-binding /home/runner/work/julep/julep/agents-api/agents_api/models/files/get_file.py
    1774:  /home/runner/work/julep/julep/agents-api/agents_api/models/files/get_file.py:6:1: error: in <module>: Can't find module 'pycozo.client'. [import-error]
    1775:  from pycozo.client import QueryException
    1776:  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1777:  For more details, see https://google.github.io/pytype/errors.html#import-error
    1778:  [191/372] check agents_api.models.files.delete_file
    1779:  FAILED: /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/files/delete_file.pyi 
    1780:  /home/runner/work/julep/julep/agents-api/.venv/bin/python -m pytype.main --disable pyi-error --imports_info /home/runner/work/julep/julep/agents-api/.pytype/imports/agents_api.models.files.delete_file.imports --module-name agents_api.models.files.delete_file --platform linux -V 3.12 -o /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/files/delete_file.pyi --analyze-annotated --nofail --none-is-not-bool --quick --strict-none-binding /home/runner/work/julep/julep/agents-api/agents_api/models/files/delete_file.py
    1781:  /home/runner/work/julep/julep/agents-api/agents_api/models/files/delete_file.py:10:1: error: in <module>: Can't find module 'pycozo.client'. [import-error]
    1782:  from pycozo.client import QueryException
    1783:  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1784:  For more details, see https://google.github.io/pytype/errors.html#import-error
    1785:  [192/372] check agents_api.models.files.create_file
    1786:  FAILED: /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/files/create_file.pyi 
    1787:  /home/runner/work/julep/julep/agents-api/.venv/bin/python -m pytype.main --disable pyi-error --imports_info /home/runner/work/julep/julep/agents-api/.pytype/imports/agents_api.models.files.create_file.imports --module-name agents_api.models.files.create_file --platform linux -V 3.12 -o /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/files/create_file.pyi --analyze-annotated --nofail --none-is-not-bool --quick --strict-none-binding /home/runner/work/julep/julep/agents-api/agents_api/models/files/create_file.py
    1788:  /home/runner/work/julep/julep/agents-api/agents_api/models/files/create_file.py:13:1: error: in <module>: Can't find module 'pycozo.client'. [import-error]
    1789:  from pycozo.client import QueryException
    1790:  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1791:  For more details, see https://google.github.io/pytype/errors.html#import-error
    1792:  [193/372] check agents_api.models.entry.list_entries
    1793:  FAILED: /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/entry/list_entries.pyi 
    1794:  /home/runner/work/julep/julep/agents-api/.venv/bin/python -m pytype.main --disable pyi-error --imports_info /home/runner/work/julep/julep/agents-api/.pytype/imports/agents_api.models.entry.list_entries.imports --module-name agents_api.models.entry.list_entries --platform linux -V 3.12 -o /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/entry/list_entries.pyi --analyze-annotated --nofail --none-is-not-bool --quick --strict-none-binding /home/runner/work/julep/julep/agents-api/agents_api/models/entry/list_entries.py
    1795:  /home/runner/work/julep/julep/agents-api/agents_api/models/entry/list_entries.py:6:1: error: in <module>: Can't find module 'pycozo.client'. [import-error]
    1796:  from pycozo.client import QueryException
    1797:  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1798:  For more details, see https://google.github.io/pytype/errors.html#import-error
    1799:  [194/372] check agents_api.models.entry.get_history
    1800:  FAILED: /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/entry/get_history.pyi 
    1801:  /home/runner/work/julep/julep/agents-api/.venv/bin/python -m pytype.main --disable pyi-error --imports_info /home/runner/work/julep/julep/agents-api/.pytype/imports/agents_api.models.entry.get_history.imports --module-name agents_api.models.entry.get_history --platform linux -V 3.12 -o /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/entry/get_history.pyi --analyze-annotated --nofail --none-is-not-bool --quick --strict-none-binding /home/runner/work/julep/julep/agents-api/agents_api/models/entry/get_history.py
    1802:  /home/runner/work/julep/julep/agents-api/agents_api/models/entry/get_history.py:6:1: error: in <module>: Can't find module 'pycozo.client'. [import-error]
    1803:  from pycozo.client import QueryException
    1804:  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1805:  /home/runner/work/julep/julep/agents-api/agents_api/models/entry/get_history.py:10:1: error: in <module>: Can't find module 'agents_api.common.utils.cozo.uuid_int_list_to_uuid'. [import-error]
    1806:  from ...common.utils.cozo import uuid_int_list_to_uuid as fix_uuid
    1807:  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1808:  For more details, see https://google.github.io/pytype/errors.html#import-error
    1809:  [195/372] check agents_api.models.entry.delete_entries
    1810:  FAILED: /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/entry/delete_entries.pyi 
    1811:  /home/runner/work/julep/julep/agents-api/.venv/bin/python -m pytype.main --disable pyi-error --imports_info /home/runner/work/julep/julep/agents-api/.pytype/imports/agents_api.models.entry.delete_entries.imports --module-name agents_api.models.entry.delete_entries --platform linux -V 3.12 -o /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/entry/delete_entries.pyi --analyze-annotated --nofail --none-is-not-bool --quick --strict-none-binding /home/runner/work/julep/julep/agents-api/agents_api/models/entry/delete_entries.py
    1812:  /home/runner/work/julep/julep/agents-api/agents_api/models/entry/delete_entries.py:6:1: error: in <module>: Can't find module 'pycozo.client'. [import-error]
    1813:  from pycozo.client import QueryException
    1814:  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1815:  For more details, see https://google.github.io/pytype/errors.html#import-error
    1816:  [196/372] check agents_api.models.docs.search_docs_by_text
    1817:  FAILED: /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/docs/search_docs_by_text.pyi 
    1818:  /home/runner/work/julep/julep/agents-api/.venv/bin/python -m pytype.main --disable pyi-error --imports_info /home/runner/work/julep/julep/agents-api/.pytype/imports/agents_api.models.docs.search_docs_by_text.imports --module-name agents_api.models.docs.search_docs_by_text --platform linux -V 3.12 -o /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/docs/search_docs_by_text.pyi --analyze-annotated --nofail --none-is-not-bool --quick --strict-none-binding /home/runner/work/julep/julep/agents-api/agents_api/models/docs/search_docs_by_text.py
    1819:  /home/runner/work/julep/julep/agents-api/agents_api/models/docs/search_docs_by_text.py:10:1: error: in <module>: Can't find module 'pycozo.client'. [import-error]
    1820:  from pycozo.client import QueryException
    1821:  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1822:  For more details, see https://google.github.io/pytype/errors.html#import-error
    1823:  [197/372] check agents_api.models.entry.create_entries
    1824:  FAILED: /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/entry/create_entries.pyi 
    1825:  /home/runner/work/julep/julep/agents-api/.venv/bin/python -m pytype.main --disable pyi-error --imports_info /home/runner/work/julep/julep/agents-api/.pytype/imports/agents_api.models.entry.create_entries.imports --module-name agents_api.models.entry.create_entries --platform linux -V 3.12 -o /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/entry/create_entries.pyi --analyze-annotated --nofail --none-is-not-bool --quick --strict-none-binding /home/runner/work/julep/julep/agents-api/agents_api/models/entry/create_entries.py
    1826:  /home/runner/work/julep/julep/agents-api/agents_api/models/entry/create_entries.py:6:1: error: in <module>: Can't find module 'pycozo.client'. [import-error]
    1827:  from pycozo.client import QueryException
    1828:  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1829:  /home/runner/work/julep/julep/agents-api/agents_api/models/entry/create_entries.py:11:1: error: in <module>: Can't find module 'agents_api.common.utils.cozo.cozo_process_mutate_data'. [import-error]
    1830:  from ...common.utils.cozo import cozo_process_mutate_data
    1831:  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1832:  For more details, see https://google.github.io/pytype/errors.html#import-error
    1833:  [198/372] check agents_api.models.docs.search_docs_by_embedding
    1834:  FAILED: /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/docs/search_docs_by_embedding.pyi 
    1835:  /home/runner/work/julep/julep/agents-api/.venv/bin/python -m pytype.main --disable pyi-error --imports_info /home/runner/work/julep/julep/agents-api/.pytype/imports/agents_api.models.docs.search_docs_by_embedding.imports --module-name agents_api.models.docs.search_docs_by_embedding --platform linux -V 3.12 -o /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/docs/search_docs_by_embedding.pyi --analyze-annotated --nofail --none-is-not-bool --quick --strict-none-binding /home/runner/work/julep/julep/agents-api/agents_api/models/docs/search_docs_by_embedding.py
    1836:  /home/runner/work/julep/julep/agents-api/agents_api/models/docs/search_docs_by_embedding.py:9:1: error: in <module>: Can't find module 'pycozo.client'. [import-error]
    1837:  from pycozo.client import QueryException
    1838:  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1839:  For more details, see https://google.github.io/pytype/errors.html#import-error
    1840:  [199/372] check agents_api.models.docs.get_doc
    1841:  FAILED: /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/docs/get_doc.pyi 
    1842:  /home/runner/work/julep/julep/agents-api/.venv/bin/python -m pytype.main --disable pyi-error --imports_info /home/runner/work/julep/julep/agents-api/.pytype/imports/agents_api.models.docs.get_doc.imports --module-name agents_api.models.docs.get_doc --platform linux -V 3.12 -o /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/docs/get_doc.pyi --analyze-annotated --nofail --none-is-not-bool --quick --strict-none-binding /home/runner/work/julep/julep/agents-api/agents_api/models/docs/get_doc.py
    1843:  /home/runner/work/julep/julep/agents-api/agents_api/models/docs/get_doc.py:8:1: error: in <module>: Can't find module 'pycozo.client'. [import-error]
    1844:  from pycozo.client import QueryException
    1845:  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1846:  For more details, see https://google.github.io/pytype/errors.html#import-error
    1847:  [200/372] check agents_api.models.docs.create_doc
    1848:  FAILED: /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/docs/create_doc.pyi 
    1849:  /home/runner/work/julep/julep/agents-api/.venv/bin/python -m pytype.main --disable pyi-error --imports_info /home/runner/work/julep/julep/agents-api/.pytype/imports/agents_api.models.docs.create_doc.imports --module-name agents_api.models.docs.create_doc --platform linux -V 3.12 -o /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/docs/create_doc.pyi --analyze-annotated --nofail --none-is-not-bool --quick --strict-none-binding /home/runner/work/julep/julep/agents-api/agents_api/models/docs/create_doc.py
    1850:  /home/runner/work/julep/julep/agents-api/agents_api/models/docs/create_doc.py:10:1: error: in <module>: Can't find module 'agents_api.common.utils.cozo.cozo_process_mutate_data'. [import-error]
    1851:  from ...common.utils.cozo import cozo_process_mutate_data
    1852:  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1853:  /home/runner/work/julep/julep/agents-api/agents_api/models/docs/create_doc.py:25:9: error: in <module>: Name 'QueryException' is not defined [name-error]
    1854:  QueryException: partialclass(HTTPException, status_code=400),
    1855:  ~~~~~~~~~~~~~~
    1856:  /home/runner/work/julep/julep/agents-api/agents_api/models/docs/create_doc.py:38:2: error: in <module>: Name 'cozo_query' is not defined [name-error]
    1857:  @cozo_query
    1858:  ~~~~~~~~~~
    1859:  /home/runner/work/julep/julep/agents-api/agents_api/models/docs/create_doc.py:39:2: error: in <module>: Name 'increase_counter' is not defined [name-error]
    1860:  @increase_counter("create_doc")
    1861:  ~~~~~~~~~~~~~~~~
    1862:  For more details, see https://google.github.io/pytype/errors.html
    1863:  [201/372] check agents_api.models.agent.patch_agent
    1864:  FAILED: /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/agent/patch_agent.pyi 
    1865:  /home/runner/work/julep/julep/agents-api/.venv/bin/python -m pytype.main --disable pyi-error --imports_info /home/runner/work/julep/julep/agents-api/.pytype/imports/agents_api.models.agent.patch_agent.imports --module-name agents_api.models.agent.patch_agent --platform linux -V 3.12 -o /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/agent/patch_agent.pyi --analyze-annotated --nofail --none-is-not-bool --quick --strict-none-binding /home/runner/work/julep/julep/agents-api/agents_api/models/agent/patch_agent.py
    1866:  /home/runner/work/julep/julep/agents-api/agents_api/models/agent/patch_agent.py:25:9: error: in <module>: Name 'QueryException' is not defined [name-error]
    1867:  QueryException: partialclass(HTTPException, status_code=400),
    1868:  ~~~~~~~~~~~~~~
    1869:  /home/runner/work/julep/julep/agents-api/agents_api/models/agent/patch_agent.py:36:2: error: in <module>: Name 'cozo_query' is not defined [name-error]
    1870:  @cozo_query
    1871:  ~~~~~~~~~~
    1872:  /home/runner/work/julep/julep/agents-api/agents_api/models/agent/patch_agent.py:62:44: error: in patch_agent: Name 'cozo_process_mutate_data' is not defined [name-error]
    1873:  agent_update_cols, agent_update_vals = cozo_process_mutate_data(
    1874:  ~~~~~~~~~~~~~~~~~~~~~~~~
    1875:  /home/runner/work/julep/julep/agents-api/agents_api/models/agent/patch_agent.py:92:36: error: in patch_agent: Name 'cozo_process_mutate_data' is not defined [name-error]
    1876:  settings_cols, settings_vals = cozo_process_mutate_data(
    1877:  ~~~~~~~~~~~~~~~~~~~~~~~~
    1878:  For more details, see https://google.github.io/pytype/errors.html#name-error
    1879:  [202/372] check agents_api.models.agent.create_or_update_agent
    1880:  FAILED: /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/agent/create_or_update_agent.pyi 
    1881:  /home/runner/work/julep/julep/agents-api/.venv/bin/python -m pytype.main --disable pyi-error --imports_info /home/runner/work/julep/julep/agents-api/.pytype/imports/agents_api.models.agent.create_or_update_agent.imports --module-name agents_api.models.agent.create_or_update_agent --platform linux -V 3.12 -o /home/runner/work/julep/julep/agents-api/.pytype/pyi/agents_api/models/agent/create_or_update_agent.pyi --analyze-annotated --nofail --none-is-not-bool --quick --strict-none-binding /home/runner/work/julep/julep/agents-api/agents_api/models/agent/create_or_update_agent.py
    1882:  /home/runner/work/julep/julep/agents-api/agents_api/models/agent/create_or_update_agent.py:28:9: error: in <module>: Name 'QueryException' is not defined [name-error]
    1883:  QueryException: partialclass(
    1884:  ~~~~~~~~~~~~~~
    1885:  /home/runner/work/julep/julep/agents-api/agents_api/models/agent/create_or_update_agent.py:48:2: error: in <module>: Name 'cozo_query' is not defined [name-error]
    1886:  @cozo_query
    1887:  ~~~~~~~~~~
    1888:  /home/runner/work/julep/julep/agents-api/agents_api/models/agent/create_or_update_agent.py:91:36: error: in create_or_update_agent: Name 'cozo_process_mutate_data' is not defined [name-error]
    1889:  settings_cols, s...

    @creatorrr creatorrr changed the base branch from dev to f/switch-to-pg December 27, 2024 05:07
    @creatorrr creatorrr closed this Dec 27, 2024
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    None yet
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    1 participant