Skip to content

Fix and test unmapped SQLModels - #286

Merged
alexmojaki merged 2 commits into
mainfrom
alex/sqlmodel
Jun 29, 2024
Merged

alexmojaki merged 2 commits into
mainfrom
alex/sqlmodel

Conversation

@alexmojaki

@alexmojaki alexmojaki commented Jun 29, 2024 •

Copy link
Copy Markdown
Contributor

Fixes #276

Also upgraded lockfile versions while I was at it.

@alexmojaki
alexmojaki enabled auto-merge (squash) June 29, 2024 12:38
@codecov

codecov Bot commented Jun 29, 2024

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jun 29, 2024 •

Copy link
Copy Markdown

Deploying logfire-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 99cd67c
Status: ✅  Deploy successful!
Preview URL: https://2fcdd793.logfire-docs.pages.dev
Branch Preview URL: https://alex-sqlmodel.logfire-docs.pages.dev

View logs

@alexmojaki
alexmojaki merged commit 26ab2d5 into main Jun 29, 2024
@alexmojaki
alexmojaki deleted the alex/sqlmodel branch June 29, 2024 12:44
@Kludex

Kludex commented Jul 5, 2024

Copy link
Copy Markdown
Member

This PR breaks stubgen on the logfire-api PR. I'm investigating why...

Traceback from rye run stubgen -p logfire --include-docstrings --verbose:

Traceback (most recent call last):
  File "/Users/marcelotryle/dev/pydantic/logfire/.venv/bin/stubgen", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "mypy/stubgen.py", line 1882, in main
  File "mypy/stubgen.py", line 1678, in generate_stubs
  File "mypy/stubgen.py", line 1610, in generate_asts_for_modules
  File "mypy/build.py", line 192, in build
  File "mypy/build.py", line 266, in _build
  File "mypy/build.py", line 2942, in dispatch
  File "mypy/build.py", line 3340, in process_graph
  File "mypy/build.py", line 3468, in process_stale_scc
  File "mypy/build.py", line 2503, in write_cache
  File "mypy/build.py", line 1564, in write_cache
  File "mypy/nodes.py", line 387, in serialize
  File "mypy/nodes.py", line 3936, in serialize
  File "mypy/nodes.py", line 3873, in serialize
  File "mypy/nodes.py", line 3304, in serialize
  File "mypy/types.py", line 667, in serialize
  File "mypy/types.py", line 2430, in serialize
  File "mypy/types.py", line 1468, in serialize
  File "mypy/types.py", line 667, in serialize
  File "mypy/types.py", line 3067, in serialize
AssertionError: Internal error: unresolved placeholder type None

Comment thread requirements-dev.lock
# via pre-commit
# via pyright
numpy==1.26.4
numpy==2.0.0

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's because of numpy!

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.

Failed to introspect calling code

2 participants