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

Fix and test unmapped SQLModels #286

Merged
merged 2 commits into from
Jun 29, 2024
Merged

Fix and test unmapped SQLModels #286

merged 2 commits into from
Jun 29, 2024

Conversation

alexmojaki
Copy link
Contributor

@alexmojaki alexmojaki commented Jun 29, 2024

Fixes #276

Also upgraded lockfile versions while I was at it.

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

codecov bot commented Jun 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!

Copy link

cloudflare-workers-and-pages bot commented Jun 29, 2024

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
12 checks passed
@alexmojaki alexmojaki deleted the alex/sqlmodel branch June 29, 2024 12:44
@Kludex
Copy link
Member

Kludex commented Jul 5, 2024

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

@@ -173,9 +173,9 @@ mypy-extensions==1.0.0
nodeenv==1.9.1
# via pre-commit
# via pyright
numpy==1.26.4
numpy==2.0.0
Copy link
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