Skip to content

Get attribute values from frame variables - #139

Closed
alexmojaki wants to merge 10 commits into
mainfrom
alex/frame-vars
Closed

alexmojaki wants to merge 10 commits into
mainfrom
alex/frame-vars

Conversation

@alexmojaki

@alexmojaki alexmojaki commented May 6, 2024 •

Copy link
Copy Markdown
Contributor

This makes this work:

import logfire

foo = 1
logfire.info('foo is {foo}')

The ultimate goal is allow passing an f-string, this is the first step.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented May 6, 2024 •

Copy link
Copy Markdown

Deploying logfire-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 0321e72
Status: ✅  Deploy successful!
Preview URL: https://78b8c143.logfire-docs.pages.dev
Branch Preview URL: https://alex-frame-vars.logfire-docs.pages.dev

View logs

@codecov

codecov Bot commented May 6, 2024 •

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!

@alexmojaki
alexmojaki marked this pull request as ready for review May 6, 2024 19:59
@alexmojaki
alexmojaki requested review from Kludex and samuelcolvin May 6, 2024 19:59
@alexmojaki

Copy link
Copy Markdown
Contributor Author

https://pydantic.slack.com/archives/C05AF4A4WRM/p1715092161303329 is making me think that this is NOT a first step towards how the f-string magic will work. So unless we want this as a feature in addition to f-string magic, I might throw a lot of this away.

@alexmojaki

Copy link
Copy Markdown
Contributor Author

Canceling this feature and closing in favour of #151

@alexmojaki alexmojaki closed this May 7, 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