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

Is there a way to indejct extra properties? #94

Open
cheog opened this issue Nov 10, 2022 · 0 comments
Open

Is there a way to indejct extra properties? #94

cheog opened this issue Nov 10, 2022 · 0 comments

Comments

@cheog
Copy link

cheog commented Nov 10, 2022

I have a top level function that has a whole bunch of meta-info. The top level function calls lower level functions that don't need, and thus aren't passed, that info. I'd like to add all the meta-info to some context so that if any lower level function logs something, the meta-info is included in the extra properties. This is all running outside of a fastapi or other web context.

Is this possible?

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

No branches or pull requests

1 participant